forked from qt-creator/qt-creator
It looks like MesonProjectParser::m_process may be restarted directly from process' finished() handler - inside MesonProjectParser::processFinished(). In this case the process is directly deleted from its signal handler. Fix it by releasing the old process and deleting it later. Don't pass process reference to the other thread when calling runAsync(). Pass the copy of standard output instead. Change-Id: I163a3cc86fbdbe8a3d9a19c479f96017f5803f76 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
12 KiB
12 KiB