pnoltes commented on code in PR #583: URL: https://github.com/apache/celix/pull/583#discussion_r1251167534
########## libs/framework/src/framework.c: ########## @@ -1443,17 +1566,23 @@ static void *fw_eventDispatcher(void *fw) { while (active) { fw_handleEvents(framework); + double nextScheduledEvent = celix_framework_processScheduledEvents(framework); + celix_framework_waitForNextEvent(framework, nextScheduledEvent); + celixThreadMutex_lock(&framework->dispatcher.mutex); active = framework->dispatcher.active; celixThreadMutex_unlock(&framework->dispatcher.mutex); } Review Comment: Nice fix :) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@celix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org