Index: components/nacl/renderer/plugin/service_runtime.cc |
diff --git a/components/nacl/renderer/plugin/service_runtime.cc b/components/nacl/renderer/plugin/service_runtime.cc |
index 3965e2ef864b936682d263f657aae7589ae3f8e5..de2b6e29ffc20a1b2c8cdd1ff8bf51acebcb3539 100644 |
--- a/components/nacl/renderer/plugin/service_runtime.cc |
+++ b/components/nacl/renderer/plugin/service_runtime.cc |
@@ -42,11 +42,12 @@ void ServiceRuntime::StartSelLdr(const SelLdrStartParams& params, |
callback.pp_completion_callback()); |
} |
-// TODO(mseaborn): Remove this method, since it is a no-op. |
void ServiceRuntime::Shutdown() { |
+ nacl::PPBNaClPrivate::TerminateNaClLoader(pp_instance_); |
} |
ServiceRuntime::~ServiceRuntime() { |
+ Shutdown(); |
} |
} // namespace plugin |