From 2e6c6fc23a88c24a4760cbe62334f8f4ea661c4f Mon Sep 17 00:00:00 2001 From: "bbudge@chromium.org" Date: Fri, 2 Nov 2012 16:59:24 +0000 Subject: Instantiate a base::AtExitManager in NaCl IPC proxy Main(). BUG=116317 TEST=manual Review URL: https://codereview.chromium.org/11312061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165688 0039d316-1c4b-4281-b951-d872f2087c98 --- ppapi/proxy/plugin_main_nacl.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ppapi') diff --git a/ppapi/proxy/plugin_main_nacl.cc b/ppapi/proxy/plugin_main_nacl.cc index 5706f78..67470fe 100644 --- a/ppapi/proxy/plugin_main_nacl.cc +++ b/ppapi/proxy/plugin_main_nacl.cc @@ -233,6 +233,8 @@ int IrtInit() { } int PpapiPluginMain() { + // Though it isn't referenced here, we must instantiate an AtExitManager. + base::AtExitManager exit_manager; MessageLoop loop; IPC::Logging::set_log_function_map(&g_log_function_mapping); ppapi::proxy::PluginGlobals plugin_globals; -- cgit v1.1