Преглед изворни кода

UI: Load service before creating the output handler

tytan652 пре 2 година
родитељ
комит
b11d0523fb
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3 3
      UI/window-basic-main.cpp

+ 3 - 3
UI/window-basic-main.cpp

@@ -1964,12 +1964,12 @@ void OBSBasic::OBSInit()
 
 	blog(LOG_INFO, STARTUP_SEPARATOR);
 
-	ResetOutputs();
-	CreateHotkeys();
-
 	if (!InitService())
 		throw "Failed to initialize service";
 
+	ResetOutputs();
+	CreateHotkeys();
+
 	InitPrimitives();
 
 	sceneDuplicationMode = config_get_bool(