Caolan McNamara wrote:
The line "pCandidate->Update();" in overlaymanagerbuffered.cxx:376 triggers a series of events that deletes the overlaymanager who's ImpBufferTimerHandler is still executing, i.e. "this" is destroyed. We get lucky sometimes because sometimes the drawing happens while the flashing text cursor is not-drawn state when we enter. In the absence of alternative ideas, we could try and work some reference count stuff in there. Even with pulling the window/cursor info out while reference is still valid before this gets deleted, there's still use of some members at the end of the method which are equally broken :-(
Yeah. Another (though ugly) solution is to use those Application::PostUserEvent() kludges to get this call asynchronously... Cheers, -- Thorsten
Attachment:
pgpFoX1EhU31m.pgp
Description: PGP signature