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

develop
Nelson R. Perez 2018-06-14 22:16:34 -05:00
parent be33c91823
commit 7197ea4078
1 changed files with 1 additions and 1 deletions

View File

@ -272,7 +272,7 @@ public class NetworkService extends Service {
Class requestClass = mRequestClassMap.get(response.id);
if(requestClass != null){
// Removing the class entry in the map
mRequestClassMap.remove(mCurrentId);
mRequestClassMap.remove(response.id);
// Obtaining the response payload class
Class responsePayloadClass = mDeserializationMap.getReceivedClass(requestClass);