Skip to content

Commit

Permalink
Fixed NfcManager.stop()
Browse files Browse the repository at this point in the history
  • Loading branch information
rrrasti authored Mar 15, 2019
1 parent 9865176 commit aaaa68b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions NfcManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,10 @@ class NfcManager {
}

stop() {
this._session.remove();
this._session = null;
if (this._session) {
this._session.remove();
this._session = null;
}
return Promise.resolve();
}

Expand Down

0 comments on commit aaaa68b

Please sign in to comment.