Make sure SLOT Session::done() is only triggered once.
author Jekyll Wu
()
committer Jekyll Wu
()
commit 0e4844a3daa8bc4def7b952e3f936f23e381f71b
tree 10c28686a5599a320830c2bc487e44eb174fcd3b
parent b00bdfadfe52ec63848b77bff7f079096c3c5749
Make sure SLOT Session::done() is only triggered once.

For some strange reason, that slot might be triggered for the second
time when Session is being destructed. That could introduce crash.

So this is more like a workaround than a perfect fix.

BUG: 296239
FIXED-IN: 4.8.2
src/Session.cpp