Parcourir la source

UI: Disable safe mode when --multi is used

(cherry picked from commit ba25bc65c9a93e8dca8d56f8fec87d59ea3e08da)
derrod il y a 1 an
Parent
commit
28d9f92f82
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      UI/obs-app.cpp

+ 1 - 0
UI/obs-app.cpp

@@ -3319,6 +3319,7 @@ int main(int argc, char *argv[])
 	for (int i = 1; i < argc; i++) {
 		if (arg_is(argv[i], "--multi", "-m")) {
 			multi = true;
+			disable_shutdown_check = true;
 
 #if ALLOW_PORTABLE_MODE
 		} else if (arg_is(argv[i], "--portable", "-p")) {