Merge "Avoiding cyclic references when unbinding from a service" into gingerbread

This commit is contained in:
Dianne Hackborn
2011-01-05 18:54:19 -08:00
committed by Android (Google) Code Review

View File

@ -9775,6 +9775,7 @@ public final class ActivityManagerService extends ActivityManagerNative
if (DEBUG_SERVICE) Slog.v(TAG,
"doneExecuting remove stopping " + r);
mStoppingServices.remove(r);
r.bindings.clear();
}
updateOomAdjLocked(r.app);
}