You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-- main thread-- srart worker thread-- waitctx:destroy()
In this example sok will get ETERM just after ctx:destroy() and close himself.
After thet ctx:destroy() will be ended main thread also ended.
So cleanup may be not called.
Now lzmq context close all sockets by default so I think it compatiable with preview version excapt this case.
The text was updated successfully, but these errors were encountered:
Now if socket detect ETERM it close himself immediately.
This is not very convinient on multithread code.
In this example
sok
will getETERM
just afterctx:destroy()
and close himself.After thet
ctx:destroy()
will be ended main thread also ended.So
cleanup
may be not called.Now lzmq context close all sockets by default so I think it compatiable with preview version excapt this case.
The text was updated successfully, but these errors were encountered: