[Issue/Bug]: Hanging on get_tree().quit() in editor #59
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What happened?
When I click a button to call
get_tree().quit()
, the game hangs and doesn't close. I believe a thread is hanging or something of the sort. This only seems to happen when running the game in the editor and doesn't occur on release (so perhaps there is an issue in the debug dlls but not the release ones?). I have verified that it is an issue with the discord plugin by disabling both the plugin and my Discord singleton and the issue doesn't occur.Version
1.3.0
Godot Version
4.2.2-stable (Windows 10)
Exact steps to reproduce this error
get_tree().quit()
GDScript
Godot output
Additional information
No response
Checks
Disabled and reenabled plugin yet again and it now no longer hangs (???) but the fact that the behaviour seems to be related to the plugin means this issue should still be open. Sorry I don't have any extra info to provide
On which platform? And do you use EditorPresence? Sorry need to add these to the form
And this hanging was a bug from previous versions so thats even weirder that it radomly appears. Maybe some weird caching? Will take another look but unfortunately this plugin is on a low prio because i need to dev for paid projects currently
Hey, I'm on Windows 10 and I'm not using editor presence. No problems about this being low priority, easily remedied and I understand the grind haha
Seems to be resolved by just sending the quit notification before quitting as noted on the docs for a graceful shutdown:
Oh that sounds good will document that because other people had this issue still after i fixed it with my plugin