mirror of
https://github.com/M66B/NetGuard.git
synced 2025-01-02 13:24:09 +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() {
|
private void stopStats() {
|
||||||
Log.i(TAG, "Stats stop");
|
Log.i(TAG, "Stats stop");
|
||||||
stats = false;
|
stats = false;
|
||||||
mServiceHandler.removeMessages(MSG_STATS_START);
|
|
||||||
mServiceHandler.removeMessages(MSG_STATS_STOP);
|
|
||||||
mServiceHandler.removeMessages(MSG_STATS_UPDATE);
|
mServiceHandler.removeMessages(MSG_STATS_UPDATE);
|
||||||
NotificationManagerCompat.from(SinkholeService.this).cancel(NOTIFY_TRAFFIC);
|
NotificationManagerCompat.from(SinkholeService.this).cancel(NOTIFY_TRAFFIC);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue