From a46c5e60473548bbfa94f526ef68247b1470ca28 Mon Sep 17 00:00:00 2001 From: Xavier Ducrohet Date: Fri, 9 Jul 2010 12:48:04 -0700 Subject: Fix a memory leak in the Graphical Layout Editor. The rendering requires a looper, but never actually uses it. Some views (like scrollView) make use of messages during rendering putting messages into the looper message queue which was never read or emptied. In the case of the scrollview, the message actually contains a reference to the scrollview, which would then leak (with all its children views) The fix is to delete the looper that was created. This must be done by reflection as there's no public access to it, and this must be done from ADT so that all versions of layoutlib get the fix. Change-Id: I998ad0ec17e77e36a42d77f8ab888917a9ff6441 --- eclipse/sites/external/.gitignore | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 eclipse/sites/external/.gitignore (limited to 'eclipse/sites') diff --git a/eclipse/sites/external/.gitignore b/eclipse/sites/external/.gitignore new file mode 100644 index 0000000..ccfee1d --- /dev/null +++ b/eclipse/sites/external/.gitignore @@ -0,0 +1,2 @@ +*.jar +*/*.jar \ No newline at end of file -- cgit v1.1