This is an automated email from the ASF dual-hosted git repository.

pengzheng pushed a commit to branch feature/refactor_bundle_cache
in repository https://gitbox.apache.org/repos/asf/celix.git


The following commit(s) were added to refs/heads/feature/refactor_bundle_cache 
by this push:
     new 65aece56 Add synchronization to avoid hangs (#482) if possible.
65aece56 is described below

commit 65aece566accbacbc917d46dc2b678991cec49f2
Author: PengZheng <[email protected]>
AuthorDate: Wed Feb 22 18:55:01 2023 +0800

    Add synchronization to avoid hangs (#482) if possible.
---
 examples/conan_test_package/test_framework.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/examples/conan_test_package/test_framework.c 
b/examples/conan_test_package/test_framework.c
index 0a9bcc9e..416a046a 100644
--- a/examples/conan_test_package/test_framework.c
+++ b/examples/conan_test_package/test_framework.c
@@ -34,6 +34,7 @@ int main() {
     ctx = framework_getContext(fw);
     long bndId = celix_bundleContext_installBundle(ctx, 
HELLO_TEST_BUNDLE_LOCATION, true);
     assert(bndId >= 0);
+    celix_framework_waitForStop(fw);
     celix_frameworkFactory_destroyFramework(fw);
     return 0;
 }

Reply via email to