Skip to content

Commit

Permalink
Merge pull request alann-maulana#16 from lunakillz/master
Browse files Browse the repository at this point in the history
Stop scanning when OnCancel is called (Only Android)
  • Loading branch information
alann-maulana authored Aug 5, 2019
2 parents adbc62d + 1856788 commit 1d87e14
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ private void startMonitoring() {

private void stopMonitoring() {
this.eventSinkMonitoring = null;
beaconManager.unbind(beaconConsumer);
}

private MonitorNotifier monitorNotifier = new MonitorNotifier() {
Expand Down

0 comments on commit 1d87e14

Please sign in to comment.