Skip to content

Commit d34d704

Browse files
committed
Stop listening to native calls when reporting ended call
1 parent c989733 commit d34d704

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

android/src/main/java/io/wazo/callkeep/RNCallKeepModule.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -718,6 +718,8 @@ public void reportEndCallWithUUID(String uuid, int reason) {
718718
return;
719719
}
720720
conn.reportDisconnect(reason);
721+
722+
this.stopListenToNativeCallsState();
721723
}
722724

723725
@Override

0 commit comments

Comments
 (0)