From 84cafc7bf70081720679e4218c168983cf5264c6 Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Wed, 10 Sep 2003 09:58:50 +0000 Subject: [PATCH] Branch callback function leaves terminated set to true, so a script polling js.terminated will read the correct value. --- src/sbbs3/jsexec.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/sbbs3/jsexec.c b/src/sbbs3/jsexec.c index 2085acddb8..f465e4154e 100644 --- a/src/sbbs3/jsexec.c +++ b/src/sbbs3/jsexec.c @@ -413,8 +413,6 @@ js_BranchCallback(JSContext *cx, JSScript *script) val=JSVAL_TRUE; JS_SetProperty(js_cx, obj, "terminated", &val); - - terminated=FALSE; /* No need to repeat this */ } return(JS_TRUE); -- GitLab