Fixed a big problem that was causing some random responses not to be de-serialized due to a mistake in the removal of entries in the request class map
This commit is contained in:
parent
be33c91823
commit
7197ea4078
1 changed files with 1 additions and 1 deletions
|
@ -272,7 +272,7 @@ public class NetworkService extends Service {
|
||||||
Class requestClass = mRequestClassMap.get(response.id);
|
Class requestClass = mRequestClassMap.get(response.id);
|
||||||
if(requestClass != null){
|
if(requestClass != null){
|
||||||
// Removing the class entry in the map
|
// Removing the class entry in the map
|
||||||
mRequestClassMap.remove(mCurrentId);
|
mRequestClassMap.remove(response.id);
|
||||||
|
|
||||||
// Obtaining the response payload class
|
// Obtaining the response payload class
|
||||||
Class responsePayloadClass = mDeserializationMap.getReceivedClass(requestClass);
|
Class responsePayloadClass = mDeserializationMap.getReceivedClass(requestClass);
|
||||||
|
|
Loading…
Reference in a new issue