Index: remoting/host/host_main.cc |
diff --git a/remoting/host/host_main.cc b/remoting/host/host_main.cc |
index 7f00000f87f5e1e13649996f1aeb37da29858443..ffff5bfb5be5ced56863694a9a85804d4610f354 100644 |
--- a/remoting/host/host_main.cc |
+++ b/remoting/host/host_main.cc |
@@ -17,6 +17,7 @@ |
#include "base/strings/stringprintf.h" |
#include "base/strings/utf_string_conversions.h" |
#include "remoting/base/breakpad.h" |
+#include "remoting/base/resources.h" |
#include "remoting/host/host_exit_codes.h" |
#include "remoting/host/logging.h" |
#include "remoting/host/usage_stats_consent.h" |
@@ -232,11 +233,16 @@ int HostMain(int argc, char** argv) { |
return kUsageExitCode; |
} |
+ remoting::LoadResources(""); |
+ |
// Invoke the entry point. |
int exit_code = main_routine(); |
if (exit_code == kUsageExitCode) { |
Usage(command_line->GetProgram()); |
} |
+ |
+ remoting::UnloadResources(); |
+ |
return exit_code; |
} |