summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/JackDriver.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/JackDriver.cpp b/src/JackDriver.cpp
index e16ee3f..0ebdb98 100644
--- a/src/JackDriver.cpp
+++ b/src/JackDriver.cpp
@@ -607,6 +607,7 @@ JackDriver::get_max_dsp_load()
void
JackDriver::reset_max_dsp_load()
{
- jack_reset_max_delayed_usecs(_client);
+ if (_client)
+ jack_reset_max_delayed_usecs(_client);
}