Skip to content

Commit 652e661

Browse files
committed
fix internal trouter behavior for stop
1 parent 4d60279 commit 652e661

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sdk/communication/azure-communication-chat/src/main/java/com/azure/android/communication/chat/implementation/signaling/CommunicationSignalingClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public String getSkypetoken(boolean forceRefresh) {
8282
} else {
8383
tokenFetchRetries = 0;
8484
}
85-
85+
8686
return userToken;
8787
}
8888
};
@@ -131,7 +131,7 @@ public void stop() {
131131
for (CommunicationListener listener: this.trouterListeners.values()) {
132132
trouter.unregisterListener(listener);
133133
}
134-
this.trouter.stop();
134+
this.trouter.close();
135135
this.trouterListeners.clear();
136136
}
137137

0 commit comments

Comments
 (0)