Changes between Initial Version and Version 1 of Ticket #15922, comment 8


Ignore:
Timestamp:
Sep 5, 2012, 10:01:08 AM (9 years ago)
Author:
cjolif
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15922, comment 8

    initial v1  
    11
    2 Ok sorry for my bad wording but by allowing to attach *post* dispatching I meant to attach *post* when the dispatching is *supposed* to happen. Which one more time, I think, might sound convenient but is also a source of confusion by creating in-continuity in the event dispatching flow.
     2Ok sorry for my bad wording but by allowing to attach *post* dispatching I meant to attach *post* when the dispatching is *supposed* to happen. Which one more time, I think, might sound convenient but is also a source of confusion by creating dis-continuity in the event dispatching flow.
    33
    44In your second point it seems you imply both cases do not work without setTimeout. About passing the handler to the ctor, I don't see why it would not work without setTimeout as it will be available for sure when the event will be dispatched? Or maybe you mean that the handler will be correctly called but too early? In that case I would be interested in understanding exactly what is the problem (in particular wouldn't dispatching it at the end of startup() instead of in the middle solve that second issue).