Skip to content
  • Daniel Vrátil's avatar
    IMAP: Fix potential crash when Resource disconnects the SessionPool · dc4bbdd1
    Daniel Vrátil authored
    When the Resource disconnects the SessionPool at a very specific time -
    when the slot connected to SessioPool's connectDone() disconnects the
    SessionPool we end up in an inconsistent state since the SessionPool
    then proceeds to insert the session into the unusedPool, which
    triggers an assert later as no sessions are allowed in internal pools
    when SessionPool is offline.
    dc4bbdd1