mirror of
https://github.com/M66B/NetGuard.git
synced 2024-12-30 20:05:04 +00:00
Fixed race condition
This commit is contained in:
parent
c35e493419
commit
35bb3fe64a
1 changed files with 0 additions and 2 deletions
|
@ -285,8 +285,6 @@ public class SinkholeService extends VpnService {
|
|||
private void stopStats() {
|
||||
Log.i(TAG, "Stats stop");
|
||||
stats = false;
|
||||
mServiceHandler.removeMessages(MSG_STATS_START);
|
||||
mServiceHandler.removeMessages(MSG_STATS_STOP);
|
||||
mServiceHandler.removeMessages(MSG_STATS_UPDATE);
|
||||
NotificationManagerCompat.from(SinkholeService.this).cancel(NOTIFY_TRAFFIC);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue