mirror of
				https://github.com/gnh1201/welsonjs.git
				synced 2025-10-27 02:51:17 +00:00 
			
		
		
		
	Fix mutex variable naming in Program.cs
Renamed the out variable from '_createdNew' to 'createdNew' for clarity and updated its usage in the mutex check. This improves code readability and consistency.
This commit is contained in:
		
							parent
							
								
									ecbe55cf80
								
							
						
					
					
						commit
						f3db44d8e3
					
				|  | @ -29,8 +29,8 @@ namespace WelsonJS.Launcher | |||
|         static void Main() | ||||
|         { | ||||
|             // create the mutex | ||||
|             _mutex = new Mutex(true, "WelsonJS.Launcher", out bool _createdNew); | ||||
|             if (!_createdNew) | ||||
|             _mutex = new Mutex(true, "WelsonJS.Launcher", out bool createdNew); | ||||
|             if (!createdNew) | ||||
|             { | ||||
|                 _logger.Error("WelsonJS Launcher already running."); | ||||
|                 return; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user