Skip to content

Commit

Permalink
Remove unnecessary logging
Browse files Browse the repository at this point in the history
  • Loading branch information
cyanfish committed Apr 14, 2024
1 parent cf38269 commit 15a5768
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions NAPS2.Lib/Platform/ApplicationLifecycle.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,8 @@ public virtual void ExitIfRedundant()
protected virtual void HandleSingleInstance()
{
// Only start one instance if configured for SingleInstance
Log.Debug("HandleSingleInstance");
if (_config.Get(c => c.SingleInstance))
{
Log.Debug("SingleInstance enabled");
if (!_processCoordinator.TryTakeInstanceLock())
{
Log.Debug("Failed to get SingleInstance lock");
Expand Down

0 comments on commit 15a5768

Please sign in to comment.