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; }