Commit fcb210e9 authored by sletz's avatar sletz
Browse files

Fix JackMessageBuffer::SetInitCallback.

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4751 0c269be4-1314-0410-8aa9-9f06e86f4224
parent da82d0e4
......@@ -161,7 +161,7 @@ void JackMessageBufferAdd(int level, const char *message)
void JackMessageBuffer::SetInitCallback(JackThreadInitCallback callback, void *arg)
{
if (fInstance && fInit && fGuard.Lock()) {
if (fInstance && fInit && fRunning && fGuard.Lock()) {
/* set up the callback */
fInitArg = arg;
fInit = callback;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment