mirror of https://github.com/godotengine/godot
Merge pull request #113830 from cpl-s-matsuyama/fix-gameview-settings-callback-crash-on-exit
Fix crash on quit when `settings_changed` signal is emitted during exit
This commit is contained in:
commit
3e58beca97
|
|
@ -507,6 +507,10 @@ void GameView::_embedded_process_focused() {
|
|||
}
|
||||
|
||||
void GameView::_editor_or_project_settings_changed() {
|
||||
if (!is_inside_tree()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Update the window size and aspect ratio.
|
||||
_update_embed_window_size();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue