Unregister extensions and instances when application exits
authorWonYoung Choi <wy80.choi@samsung.com>
Wed, 1 Jun 2016 07:55:32 +0000 (16:55 +0900)
committerWonYoung Choi <wy80.choi@samsung.com>
Wed, 1 Jun 2016 08:18:38 +0000 (17:18 +0900)
commite0b04a3d4578a2629be5b5b74567088b82582b18
treeb744fb4741a48200c4d4aabb0ff0c737a7450692
parent267a48b874d78f9334aa43d441af1341e4b4f24a
Unregister extensions and instances when application exits

In single process model, the extension server is running in the mainloop
of the browser thread. So the extension server can't receive ewk_ipc message
after the mainloop is terminated. WebApplication calls the Shutdown() method
of ExtensionServer explicitly now.
extensions/common/xwalk_extension.cc
extensions/common/xwalk_extension_adapter.cc
extensions/common/xwalk_extension_manager.cc
extensions/common/xwalk_extension_manager.h
extensions/common/xwalk_extension_server.cc
extensions/common/xwalk_extension_server.h
runtime/browser/web_application.cc