-
-
Notifications
You must be signed in to change notification settings - Fork 513
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Layout.swift: Fatal error: Attempted to read an unowned reference but the object was already deallocated #440
Comments
Thank you for your report. I've been wondering about a possibility of a memory leak in updateScrollView() since before but I've had no evidence. But now I'm convinced the inner function must be change thanks to your report. I will take care of this crash this weekend. |
Hello, @mschonvogel. I've created a branch to attempt to fix this issue(PR #441). Could you please check whether this branch fixes your reporting issue or not? |
Yes, will do. As I am not really able to reproduce the bug, I'd say I'll just use the app and let you know in 2-3 days if it crashed again or not? |
Looking good, no crash so far @scenee 👍 |
Thank you so much, @mschonvogel 🎉 I will merge PR #441 and release the new version in a week. |
To fix a crash "Layout.swift: Fatal error: Attempted to read an unowned reference but the object was already deallocated" which is reported at issue #440.
Sometimes when dismissing the panel with a swipe gesture, it crashes in Layout.swift, line 307.
I'm using version 2.2.0
This is how create the panel:
And this is the layout I'm using:
The text was updated successfully, but these errors were encountered: