312313314315316317318319320321322
if (allocator == null) { throw new RuntimeException("Deallocation when app instance is not allocated = " + appInstance); } allocator.free(appInstance); if (allocator.getNumAllocated() == 0) { instanceAllocators.remove(appName); } }