Strange behavior adjusting LargeIntervalTimer properties while Tick event is running

Last post 05-16-2008 22:28 by sgifford. 15 replies.
Page 2 of 2 (16 items) < Previous 1 2
Sort Posts: Previous Next
  • 05-16-2008 22:28 In reply to

    Re: Strange behavior adjusting LargeIntervalTimer properties while Tick event is running

     Hello Bob,

    In the code I'm using now, I fixed the resource leak, implemented IDisposable, and every time I need to restart the timer I create a new LIT and .Dispose() the old one.

    See the bugs ctacke mentions above for more information on the fixes for the resource leak and the Enable race condition.  I believe I have also found some other race conditions, and I have a proposed fix in bug 254:

        http://bugzilla.opennetcf.com/show_bug.cgi?id=254

     The code there isn't well tested yet, and hasn't been vetted by anybody at OpenNetCF, so feel free to try it out, but if you use it it will definitely be at your own risk.  :-)

     

     

Page 2 of 2 (16 items) < Previous 1 2