Skip to content
Snippets Groups Projects
Commit b104b43f authored by hjk's avatar hjk
Browse files

sessionmanager: replace signal sessionUnloaded() by aboutToUnloadSession()

sessionUnloaded was sometimes emitted when the session manager was in
an unsafe state (between delete m_file and  m_file = new ...) leading
to crashes when slots connected to the signal accessed the sessionmanager
again. This patch moves the signal emission before  delete m_file.

Reviewed-by: dt
parent a981c5c9
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment