Timer disposed control


Hi I’m not sure if this is working as designed but if I have a timer and the parent control is disposed the timer is not automatically disposed and continues to run unless I manually dispose it.

This could be working as designed but I think VWG used to dispose of them before I migrated to Wisej.


  • You must to post comments

Is it created like this in InitializeComponent?

this.timer1 = new Wisej.Web.Timer(this.components);

  • Mark Reed
    No but I will definitely change it to do it that way.
  • Luca (ITG)
    OK, let me know. I think VWG was stopping the events but not disposing the timer until the GC kicked in. There was a Control.RegisteredTimers property that was probably used to stop the event from firing.
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.