Bug 906030 - Part 2: Don't remove guest profile on background thread. r=wesj

This commit is contained in:
Brian Nicholson 2013-08-26 16:32:10 -07:00
parent 8341c442fa
commit 199c038a15

View File

@ -189,12 +189,8 @@ public final class GeckoProfile {
profile.mInGuestMode = false;
// If the guest dir exists, but it's unlocked, delete it
ThreadUtils.postToBackgroundThread(new Runnable() {
@Override
public void run() {
removeGuestProfile(context);
}
});
removeGuestProfile(context);
return true;
}
return false;