Update of /cvsroot/dynapi/dynapi/src/lib/dynapi/util
In directory usw-pr-cvs1:/tmp/cvs-serv3997/src/lib/dynapi/util

Modified Files:
        thread.js 
Log Message:
Check for valid timer

Index: thread.js
===================================================================
RCS file: /cvsroot/dynapi/dynapi/src/lib/dynapi/util/thread.js,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** thread.js   2001/03/27 15:34:27     1.4
--- thread.js   2001/04/01 00:23:18     1.5
***************
*** 42,46 ****
  Thread.prototype.stop = function () {
        this.active = false;
!       if (!this.cancelThread) {
                clearInterval(this.timer);
                delete this.timer;
--- 42,46 ----
  Thread.prototype.stop = function () {
        this.active = false;
!       if (!this.cancelThread && this.timer) {
                clearInterval(this.timer);
                delete this.timer;


_______________________________________________
Dynapi-CVS mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-cvs

Reply via email to