Merge "Check before closing the CloseGuard if not closed yet" into qt-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
cc33160f6a
@@ -271,7 +271,9 @@ public final class AppPredictor {
|
||||
if (mCloseGuard != null) {
|
||||
mCloseGuard.warnIfOpen();
|
||||
}
|
||||
destroy();
|
||||
if (!mIsClosed.get()) {
|
||||
destroy();
|
||||
}
|
||||
} finally {
|
||||
super.finalize();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user