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
Post a Comment