datafinder-team team mailing list archive
-
datafinder-team team
-
Mailing list archive
-
Message #00299
[Bug 1194645] Re: The logger model is not thread-safe.
Separated model and handler. New records are indicated via a Qt signal
to avoid direct coupling and model updates from non-main-GUI threads.
** Changed in: datafinder
Status: New => Fix Committed
--
You received this bug notification because you are a member of
DataFinderTeam, which is subscribed to DataFinder.
https://bugs.launchpad.net/bugs/1194645
Title:
The logger model is not thread-safe.
Status in DataFinder - flexible data management:
Fix Committed
Bug description:
The log view and its corresponding model is not thread-safe. I.e.,
logging records emitted from a thread might cause inconsistencies in
the model and/or crash the client. The problem is that the model might
be changed from a "worker" thread. However, it should only be changed
from the main Qt GUI thread.
To manage notifications about this bug go to:
https://bugs.launchpad.net/datafinder/+bug/1194645/+subscriptions
References