diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2018-06-14 03:27:30 +0200 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-06-14 03:27:30 +0200 |
commit | 4cd2cf96a071c10958fd5e5f6b0b2c6279b328b4 (patch) | |
tree | 49348c61771b6d1aeedb8216468a9485eb523bad | |
parent | Merge "Recovery image is self-contained" (diff) | |
parent | screen_ui: Call gr_exit() from dtor. (diff) | |
download | android_bootable_recovery-4cd2cf96a071c10958fd5e5f6b0b2c6279b328b4.tar android_bootable_recovery-4cd2cf96a071c10958fd5e5f6b0b2c6279b328b4.tar.gz android_bootable_recovery-4cd2cf96a071c10958fd5e5f6b0b2c6279b328b4.tar.bz2 android_bootable_recovery-4cd2cf96a071c10958fd5e5f6b0b2c6279b328b4.tar.lz android_bootable_recovery-4cd2cf96a071c10958fd5e5f6b0b2c6279b328b4.tar.xz android_bootable_recovery-4cd2cf96a071c10958fd5e5f6b0b2c6279b328b4.tar.zst android_bootable_recovery-4cd2cf96a071c10958fd5e5f6b0b2c6279b328b4.zip |
-rw-r--r-- | screen_ui.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/screen_ui.cpp b/screen_ui.cpp index b4ef054ce..e8444b6ca 100644 --- a/screen_ui.cpp +++ b/screen_ui.cpp @@ -176,6 +176,8 @@ ScreenRecoveryUI::~ScreenRecoveryUI() { if (progress_thread_.joinable()) { progress_thread_.join(); } + // No-op if gr_init() (via Init()) was not called or had failed. + gr_exit(); } GRSurface* ScreenRecoveryUI::GetCurrentFrame() const { |