Move null assignments after the proper checks

This commit is contained in:
Dan Mulloy 2015-01-04 17:54:12 -05:00
parent 489c72418d
commit 266e9e47cc

View File

@ -786,13 +786,13 @@ class ChannelInjector extends ByteToMessageDecoder implements Injector {
// Clear cache
factory.invalidate(player);
// Clear player instances
// Should help fix memory leaks
this.player = null;
this.updated = null;
}
}
// Clear player instances
// Should help fix memory leaks
this.player = null;
this.updated = null;
}
/**