c# - system timers timer dispose problem -


i developing 1 chat application on c#,and on use system.timer.timer getting data new request , zone request also.

all thing running fine when ever sign out application system timer still running on background , generate error.so dispose system timer when signout.

please me this.

thanks in advance

i immagine tried stop() , close(). if so, solution be: during closing of applicaiton make sleep() couple of seconds main thread let timer's thread release resources allocated before.

there bug in application, blocks timer's thread reason, it's difficult me, should check yourself.

hope helps.

regards.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -