crosswalk-project/crosswalk — pull request #1442 by hmin (2014-01-06 12:58:53+00:00)
Title: [Android] Avoid the extension instance to be delete twice

On android, the extension instances are owned by extension itself, while
XWalkExtensionServer is forced to maintain all instances created in xwalk
and the XWalkExtensionInstance is NOT ref-counted, as a result, the
instance would be deleted twice at exiting time and causes crash.

This fix is to address the above issue and ensure the extension instance
is only deleted by XWalkExtensionServer instead of extension itself on
Android.