1
0
Fork 0

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:
Thaddeus Crews 2025-12-10 18:10:33 -06:00
commit 3e58beca97
No known key found for this signature in database
GPG Key ID: 8C6E5FEB5FC03CCC
1 changed files with 4 additions and 0 deletions

View File

@ -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();