enthought / enthought/traitsui

Lifecycle management under PyQt5 and Mac OS

Open
#431 1 comment 0 reactions 0 assignees View on GitHub
toolkit: Qt
Dominant language
Python
Stars
306
Forks
99
PR merge metrics
No merged PRs in 30d

Description

It looks like PyQt5 may be more finicky than other backends on the Mac OS platform. It seems that we can sometimes get late and/or spurious events firing after editors have been disposed of (so all Python references should have been dropped, but objects may still be live in memory).

Care should be taken to disconnect signals during `dispose` methods, and additionally it may make sense to guard against `self.control` being `None` in the signal handlers.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.