PengZheng commented on code in PR #583: URL: https://github.com/apache/celix/pull/583#discussion_r1247863813
########## libs/framework/src/framework.c: ########## @@ -1185,6 +1199,9 @@ static void* framework_shutdown(void *framework) { //NOTE possible starvation. fw_bundleEntry_waitTillUseCountIs(entry, 1); //note this function has 1 use count. + //note race between condition (use count == 1) and bundle stop, meaning use count can be > 1 when + //celix_framework_stopBundleEntry is called. Review Comment: Quick fix: https://github.com/apache/celix/pull/583/commits/6e3aa032b6017cd3e911ff06e3c85be454ccc2d1 -- 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