I think that this problem is very annoying and can be fixed with a forced disconnection when network is not available.
Unfortunately I'm not really sure where I can find the function.
maybe it is in network.c and it is called
nm_callback_func(libnm_glib_ctx* ctx, gpointer user_data)
if I manage to understand how to force disconnection I might attach a patch
I think that this problem is very annoying and can be fixed with a forced disconnection when network is not available. func(libnm_ glib_ctx* ctx, gpointer user_data)
Unfortunately I'm not really sure where I can find the function.
maybe it is in network.c and it is called
nm_callback_
if I manage to understand how to force disconnection I might attach a patch