diff --git a/VocaluxeLib/Log/CBenchmark.cs b/VocaluxeLib/Log/CBenchmark.cs index 19ddf6c9..89482654 100644 --- a/VocaluxeLib/Log/CBenchmark.cs +++ b/VocaluxeLib/Log/CBenchmark.cs @@ -61,10 +61,10 @@ namespace VocaluxeLib.Log /// Stops this benchmark. /// /// If true a success message will be added to the log otherwise a message for failure. - public void Stop(bool success = true) + public void Stop(bool success = true) { if (_Watch == null) - throw new InvalidOperationException("Timer is not running."); + return; _Watch.Stop(); double duration = _GetElapsedTime(_Watch);