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
{{ message }}
This repository has been archived by the owner on Jun 8, 2021. It is now read-only.
For virtual methods we ensure that the object is still floating once the virtual method returns and not floating during the scope of the virtual method. However the same problem would happen if other callbacks with the floating object would happen, any kind of callback. The first use in the bindings in a transfer none context would sink the floating reference and cause memory leaks or worse.
Unclear how to handle this other than using the floating reference guard in all callbacks, signal handler trampolines, etc.
The text was updated successfully, but these errors were encountered:
For virtual methods we ensure that the object is still floating once the virtual method returns and not floating during the scope of the virtual method. However the same problem would happen if other callbacks with the floating object would happen, any kind of callback. The first use in the bindings in a
transfer none
context would sink the floating reference and cause memory leaks or worse.Unclear how to handle this other than using the floating reference guard in all callbacks, signal handler trampolines, etc.
The text was updated successfully, but these errors were encountered: