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