am f3d5ea92: Have LauncherModel poke the gc after it\'s done, to give the renderscript objects a chance to get deleted, since they aren\'t in the java heap.

This commit is contained in:
Joe Onorato authored and Android Git Automerger committed 2010-05-18 18:53:23 -07:00
commit 53a34ea27c
1 file changed
+8
@@ -623,6 +623,14 @@ public class LauncherModel extends BroadcastReceiver {
// sections.
mLoaderThread = null;
}
// Trigger a gc to try to clean up after the stuff is done, since the
// renderscript allocations aren't charge to the java heap.
mHandler.post(new Runnable() {
public void run() {
System.gc();
}
});
}
public void stopLocked() {