Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
beygee committed Jul 11, 2023
2 parents 938fa78 + d23cc0c commit 12fb0e7
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,10 @@ private void onAttachedToEngine(Context applicationContext, BinaryMessenger mess
@Override
public void onDetachedFromEngine(@NonNull FlutterPluginBinding binding) {
applicationContext = null;
channel.setMethodCallHandler(null);
channel = null;
if (channel != null) {
channel.setMethodCallHandler(null);
channel = null;
}
}

@Override
Expand Down

0 comments on commit 12fb0e7

Please sign in to comment.