Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic timer fires on disposed Calendar scroll bar (Read 4019 times)
tomk
YaBB Newbies
*
Offline


Yaos!

Posts: 29
Joined: Apr 25th, 2006
timer fires on disposed Calendar scroll bar
Jul 11th, 2008 at 4:36pm
Print Post  
We intermittently see the error below after closing a view which contains a MindFusion Calendar control (we are on v4.4.0.25942).  It looks like a timer is still ticking on the ScrollBar base even after Dispose() has been called.  The timer does not appear to get unhooked/stopped/disposed when its host does.


Cannot access a disposed object.
Object name: 'xd7fe23e9aa2591f6'.

Stack Trace:
   at System.Windows.Forms.Control.CreateHandle()
   at System.Windows.Forms.Control.get_Handle()
   at System.Windows.Forms.Control.RectangleToScreen(Rectangle r)
   at MindFusion.Controls.x639c8f713452b1b0.x20419c82769f1b22()
   at MindFusion.Controls.x639c8f713452b1b0.xd0a660896d3caaba(x0b48413e2ae2ad9b x23e85093ba3a7d1d)
   at MindFusion.Controls.x639c8f713452b1b0.x771b886d56ee42b6(Object xe0292b9ed559da7d, EventArgs xfbf34718e704c6bc)
   at System.Windows.Forms.Timer.OnTick(EventArgs e)
   at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: timer fires on disposed Calendar scroll bar
Reply #1 - Jul 14th, 2008 at 7:33am
Print Post  
We have fixed that. You can contact my colleagues via e-mail to receive a new version containing the fix.

Regards,
Meppy
  
Back to top
 
IP Logged
 
tomk
YaBB Newbies
*
Offline


Yaos!

Posts: 29
Joined: Apr 25th, 2006
Re: timer fires on disposed Calendar scroll bar
Reply #2 - Jul 21st, 2008 at 6:15pm
Print Post  
Thanks once again for a quick response.  We will contact our rep for a new version.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint