diff options
author | David Robillard <d@drobilla.net> | 2010-12-14 20:51:52 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-12-14 20:51:52 +0000 |
commit | 2f4577b0df3664c7cbd1bb3fa81c3d141c0fba5a (patch) | |
tree | a6d632d491dcec09fb62abe801c8774eb997094a /src | |
parent | 5a260f5e574ad8e33cd5528c214b4a25b18e248e (diff) | |
download | patchage-2f4577b0df3664c7cbd1bb3fa81c3d141c0fba5a.tar.gz patchage-2f4577b0df3664c7cbd1bb3fa81c3d141c0fba5a.tar.bz2 patchage-2f4577b0df3664c7cbd1bb3fa81c3d141c0fba5a.zip |
Fix crash when resetting dropouts after JACK dies (fix ticket #513).
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2686 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/JackDriver.cpp | 3 |
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); } |