This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository enlightenment.

View the commit online.

commit 43084c2973a0958df1e39e546404944b6ce84fb0
Author: Carsten Haitzler <[email protected]>
AuthorDate: Mon May 18 00:07:43 2026 +0100

    nm - fix another shutdown/cancel path with null ctxt
---
 src/modules/networkmanager/e_mod_main.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/modules/networkmanager/e_mod_main.c b/src/modules/networkmanager/e_mod_main.c
index 867471a42..94a1e9cfd 100644
--- a/src/modules/networkmanager/e_mod_main.c
+++ b/src/modules/networkmanager/e_mod_main.c
@@ -1359,7 +1359,11 @@ _enm_traffic_worker_done(void *data, Ecore_Thread *thread)
    /* Only clear ctxt->traffic_thread if it still points at us.  A stop()
     * immediately followed by start() will have NULL'd and then replaced the
     * pointer before this done cb runs for the cancelled predecessor. */
-   if (w->ctxt->traffic_thread == thread) w->ctxt->traffic_thread = NULL;
+   if ((w->ctxt) && (w->ctxt->traffic_thread == thread))
+     {
+        w->ctxt->traffic_thread = NULL;
+        w->ctxt->worker = NULL;
+     }
    eina_lock_free(&w->lock);
    free(w->iface);
    free(w);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to