Skip to content

Conversation

Eureak-zon
Copy link
Contributor

Fixed issue where closing LogReplayStatusBar mid-task left the state
unreset, causing crashes when reopening LogReplayStatusBar.

Changes:

  • Added emit _onDisconnected() in destructor to properly signal disconnection
  • Added proper cleanup of _worker pointer to prevent dangling pointer crashes
  • Ensured complete state reset during destruction

This prevents crashes when reopening LogReplayStatusBar after closing
it during task execution.

Fixed issue where closing LogReplayStatusBar mid-task left the state
unreset, causing crashes when reopening LogReplayStatusBar.

Changes:
- Added emit _onDisconnected() in destructor to properly signal disconnection
- Added proper cleanup of _worker pointer to prevent dangling pointer crashes
- Ensured complete state reset during destruction

This prevents crashes when reopening LogReplayStatusBar after closing
it during task execution.
@Eureak-zon Eureak-zon marked this pull request as ready for review August 14, 2025 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant