When PyTango client shutsdown it sometimes blocks.
The problem was traced back to the leavefunc executed at python interpreter shutdown.
Actually python should not need to execute this function since it seems to be called by C++ layer.
In order to avoid potential problems in untested platforms (windows, macos), the proposed solution is just to release the GIL during the C++ call.
It seems to solve the problem.
Fixed in PyTango SVN trunk Should become visible in next PyTango release 8.1.2
Log in to post a comment.
The problem was traced back to the leavefunc executed at python interpreter shutdown.
Actually python should not need to execute this function since it seems to be called by C++ layer.
In order to avoid potential problems in untested platforms (windows, macos), the proposed solution is just to release the GIL during the C++ call.
It seems to solve the problem.
Fixed in PyTango SVN trunk
Should become visible in next PyTango release 8.1.2