Spontaneously call of already dropped closure when using Listen::use_field<F>
#17
Labels
bug
Something isn't working
Listen::use_field<F>
#17
Sometimes a closure is accessed after being dropped. The provided
test-project
does produce the bug now and then.From my current perspective it looks like a bug that is not often encountered in the wild. Will have to test it in an actual project to more accurately evaluate the severity of the bug.
For now it looks like a race condition where either the closure is hold to long in memory and hides the problem, or the listen event sometimes isn't detached fast enough and tries to call the dropped closure.
The text was updated successfully, but these errors were encountered: