Am 25.04.2008 um 07:50 schrieb Michael Pfeiffer:
Am 25.04.2008 um 00:17 schrieb Stephan Assmus:Michael Pfeiffer wrote:BTW who has added the delete statement and the comment in PairsWindow::MessageReceived()? delete fPairComparing;// message of message runner might not have arrived // yet, so itis deleted here to prevent any leaking // just in caseWhen that code path is reached it can be asserted that fPairComparing isalways NULL.I did, and also added the comment. I might be missing something, but why is it not possible to click onto another button quickly enough, before themessage from the old message runner arrives?This code is only reached if fIsPairsActive is true. With fIsPairsActive iff fPairComparing != NULL
I guess I got this wrong. fIsPairsActive is true iff fPairComparing is NULL.