ROOT CAUSE: When disconnecting service, m_logworker is deleted in thread which does not have affinity with m_logworker. The time m_logworker is deleted, it may be used by m_logthread and make the service crashed ACTION: Connect signal finished() of m_logthread to deleteLater() slot of m_logworker to safety delete it. |
||
|---|---|---|
| .. | ||
| android | ||
| dummy | ||
| ios | ||
| linux | ||
| macos | ||
| windows | ||