• hjk's avatar
    sessionmanager: replace signal sessionUnloaded() by aboutToUnloadSession() · b104b43f
    hjk authored
    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
    b104b43f
cppmodelmanager.h 5.91 KB