mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 811654 - Make AllPagesTab's destroy() idempotent (r=mfinkle)
This commit is contained in:
parent
bf9d34069e
commit
419069500f
@ -151,10 +151,12 @@ public class AllPagesTab extends AwesomeBarTab implements GeckoEventListener {
|
||||
if (cursor != null)
|
||||
cursor.close();
|
||||
|
||||
if (mHandler != null) {
|
||||
mHandler.removeMessages(MESSAGE_UPDATE_FAVICONS);
|
||||
mHandler.removeMessages(MESSAGE_LOAD_FAVICONS);
|
||||
mHandler = null;
|
||||
}
|
||||
}
|
||||
|
||||
public void filter(String searchTerm) {
|
||||
AwesomeBarCursorAdapter adapter = getCursorAdapter();
|
||||
|
Loading…
Reference in New Issue
Block a user