Clearing the map between request id and the ApiCallable class because when we disconnect from one node, all previous message ids should be reset
This commit is contained in:
parent
cc28f55dd5
commit
1c261746a2
1 changed files with 3 additions and 0 deletions
|
@ -699,6 +699,9 @@ public class NetworkService extends Service {
|
||||||
|
|
||||||
isLoggedIn = false;
|
isLoggedIn = false;
|
||||||
|
|
||||||
|
// Clearing previous request id to class mappings
|
||||||
|
mRequestClassMap.clear();
|
||||||
|
|
||||||
if(mSelectedNode != null){
|
if(mSelectedNode != null){
|
||||||
// Marking the selected node as not connected
|
// Marking the selected node as not connected
|
||||||
mSelectedNode.setConnected(false);
|
mSelectedNode.setConnected(false);
|
||||||
|
|
Loading…
Reference in a new issue