From f3c085df44100f46494f92e8f8d96cf2c3af20dd Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Wed, 12 Mar 2014 11:06:17 +0100 Subject: [PATCH] Call Process callbacks asynchronously. Refs #5748 --- lib/base/process-unix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/base/process-unix.cpp b/lib/base/process-unix.cpp index f2a3b209f..0f7a0edaa 100644 --- a/lib/base/process-unix.cpp +++ b/lib/base/process-unix.cpp @@ -320,7 +320,7 @@ bool Process::DoEvents(void) m_Result.Output = output; if (m_Callback) - m_Callback(m_Result); + Utility::QueueAsyncCallback(boost::bind(m_Callback, m_Result)); return false; }