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
Operating System and Hardware Platform: unix/linux
Summary of Problem
#1572 fixes a memory leak in unix when the poller doesn't free it's callback. It's fixed by explicitly feeing the callback, but this wont work if the poller object goes out of scope.
The text was updated successfully, but these errors were encountered:
Poller object can go out of scope only with whole SerialPort object - when that happen without prior call port.close() (what will free Poller) we have also port that is open without possibility to close or use it again. I'm not sure if there's need to handle this case. Even if the user code intentionally let SerialPort go out of scope (e.g after use it once), the leak will be insignificant.
Summary of Problem
#1572 fixes a memory leak in unix when the poller doesn't free it's callback. It's fixed by explicitly feeing the callback, but this wont work if the poller object goes out of scope.
The text was updated successfully, but these errors were encountered: