diff --git a/src/core/rbuscore.c b/src/core/rbuscore.c index 5351b9f6..f4cb6536 100644 --- a/src/core/rbuscore.c +++ b/src/core/rbuscore.c @@ -682,6 +682,7 @@ rbusCoreError_t rbus_closeBrokerConnection() return RBUSCORE_ERROR_GENERAL; } g_connection = NULL; + g_run_event_client_dispatch = false; unlock(); pthread_mutex_destroy(&g_mutex);