Closed.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Closed.
Hello,
Are you calling the associated "vxRelease" API's corresponding to the OpenVX objects you are utilizing? For instance, the OpenVX graph can be released using vxReleaseGraph and the OpenVX context can be released using vxReleaseContext.
Regards,
Lucas
Hi, we use SDK version 7.2. Under normal conditions, vxReleaseContext and vxReleaseGraph can be executed. But sometimes, the program crashed, now the graph and context could not be released. How can we release these graphs, nodes and context?
Regards,
Gui
Hello,
I received the below response from a colleague on this point. Please let me know if this helps resolve your issue:
This can be done via signal handling in the application. Almost all the apps under vision_apps/apps/ptk_demos implement signal handling. An example is vision_apps/apps/ptk_demos/app_sde.
Here is the deal though:
You might not have this luxury when dealing with SIGTERM (segfault etc) so the clean up might follow a different logic. Nevertheless, this should give you control in trapping the signal, clean-up whatever you can and get out.
One instance where clean-up could result in hangs is that:
Regards,
Lucas