Ryujinx/Ryujinx.Ava/Ui/Windows
Ac_K a1ddaa2736
ui: Fixes disposing on GTK/Avalonia and Firmware Messages on Avalonia (#3885)
* ui: Only wait on _exitEvent when MainLoop is active under GTK

This fixes a dispose issue under Horizon/GTK, we don't check if the ApplicationClient is null so it throw NCE. We don't check if the main loop is active and waiting an event which is set in the main loop... So that could lead to a freeze.

Everything works fine in GTK now.

Related issue: https://github.com/Ryujinx/Ryujinx/issues/3873

As a side note, same kind of issue appear in Avalonia UI too. Firmware's popup doesn't show anything and the emulator just freeze.

* TSRBerry's change

Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>

* Fix Avalonia crashing/freezing

* Add Avalonia OpenGL fixes

* Fix firmware popup on windows

* Fixes everything

* Add _initialized bool to VulkanRenderer and OpenGL Window

Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>
2022-11-24 15:08:27 +01:00
..
AboutWindow.axaml Update AboutWindow.axaml (#3724) 2022-10-02 22:02:11 +00:00
AboutWindow.axaml.cs Removed unused usings. (#3593) 2022-08-18 18:04:54 +02:00
AmiiboWindow.axaml UI - Avalonia Part 3 (#3441) 2022-07-08 15:47:11 -03:00
AmiiboWindow.axaml.cs Removed unused usings. (#3593) 2022-08-18 18:04:54 +02:00
AvatarWindow.axaml Avalonia - Use content dialog for user profile manager (#3455) 2022-07-24 14:38:38 -03:00
AvatarWindow.axaml.cs Avalonia - Use content dialog for user profile manager (#3455) 2022-07-24 14:38:38 -03:00
CheatWindow.axaml Avalonia: Another Cleanup (#3494) 2022-07-29 00:41:34 +02:00
CheatWindow.axaml.cs Removed unused usings. (#3593) 2022-08-18 18:04:54 +02:00
ContentDialogOverlayWindow.axaml Avalonia - Use embedded window for avalonia (#3674) 2022-09-19 15:05:26 -03:00
ContentDialogOverlayWindow.axaml.cs Avalonia - Use embedded window for avalonia (#3674) 2022-09-19 15:05:26 -03:00
ControllerSettingsWindow.axaml Avalonia - Misc changes to UX (#3643) 2022-09-19 16:04:22 -03:00
ControllerSettingsWindow.axaml.cs Avalonia: Another Cleanup (#3494) 2022-07-29 00:41:34 +02:00
DownloadableContentManagerWindow.axaml Avalonia: Another Cleanup (#3494) 2022-07-29 00:41:34 +02:00
DownloadableContentManagerWindow.axaml.cs Avalonia: Another Cleanup (#3494) 2022-07-29 00:41:34 +02:00
IconColorPicker.cs Avalonia UI - Part 1 (#3270) 2022-05-15 13:30:15 +02:00
MainWindow.axaml Avalonia: Update Polish Translation (#3722) 2022-10-19 00:10:28 +00:00
MainWindow.axaml.cs ui: Fixes disposing on GTK/Avalonia and Firmware Messages on Avalonia (#3885) 2022-11-24 15:08:27 +01:00
MotionSettingsWindow.axaml UI - Avalonia Part 2 (#3351) 2022-07-05 20:06:31 +02:00
MotionSettingsWindow.axaml.cs Avalonia: Another Cleanup (#3494) 2022-07-29 00:41:34 +02:00
RumbleSettingsWindow.axaml UI - Avalonia Part 2 (#3351) 2022-07-05 20:06:31 +02:00
RumbleSettingsWindow.axaml.cs Avalonia: Another Cleanup (#3494) 2022-07-29 00:41:34 +02:00
SettingsWindow.axaml Implement HLE macro for DrawElementsIndirect (#3748) 2022-11-16 14:53:04 -03:00
SettingsWindow.axaml.cs remove property changed call in time zone validation (#3752) 2022-10-17 16:48:14 +00:00
StyleableWindow.cs Avalonia: Another Cleanup (#3494) 2022-07-29 00:41:34 +02:00
TitleUpdateWindow.axaml UI - Avalonia Part 3 (#3441) 2022-07-08 15:47:11 -03:00
TitleUpdateWindow.axaml.cs Removed unused usings. (#3593) 2022-08-18 18:04:54 +02:00