Merge "screen_ui: Call gr_exit() from dtor."
This commit is contained in:
@@ -176,6 +176,8 @@ ScreenRecoveryUI::~ScreenRecoveryUI() {
|
|||||||
if (progress_thread_.joinable()) {
|
if (progress_thread_.joinable()) {
|
||||||
progress_thread_.join();
|
progress_thread_.join();
|
||||||
}
|
}
|
||||||
|
// No-op if gr_init() (via Init()) was not called or had failed.
|
||||||
|
gr_exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
GRSurface* ScreenRecoveryUI::GetCurrentFrame() const {
|
GRSurface* ScreenRecoveryUI::GetCurrentFrame() const {
|
||||||
|
|||||||
Reference in New Issue
Block a user