summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cloud_print/virtual_driver/win/port_monitor/port_monitor.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/cloud_print/virtual_driver/win/port_monitor/port_monitor.cc b/cloud_print/virtual_driver/win/port_monitor/port_monitor.cc
index 466c390..001eead 100644
--- a/cloud_print/virtual_driver/win/port_monitor/port_monitor.cc
+++ b/cloud_print/virtual_driver/win/port_monitor/port_monitor.cc
@@ -630,6 +630,7 @@ MONITORUI* WINAPI InitializePrintMonitorUI(void) {
}
HRESULT WINAPI DllRegisterServer(void) {
+ base::AtExitManager at_exit_manager;
if (!cloud_print::CanRegister()) {
return E_ACCESSDENIED;
}
@@ -646,6 +647,7 @@ HRESULT WINAPI DllRegisterServer(void) {
}
HRESULT WINAPI DllUnregisterServer(void) {
+ base::AtExitManager at_exit_manager;
if (!cloud_print::CanRegister()) {
return E_ACCESSDENIED;
}