eventscript: wait for debugging dump before killing timedout script
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 8 Apr 2010 05:39:08 +0000 (15:09 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 8 Apr 2010 05:39:08 +0000 (15:09 +0930)
commitf8aa83788e3cc10ab7655a90d7b7b17ddbe48685
treee5503380ed03be084d07557b2a89203082ba63d6
parent7ee5ecc8d53e78e2dec21197b74a74cc4ae1834c
eventscript: wait for debugging dump before killing timedout script

Fairly simple: prevent the destructor from killing the script, and do it
explicitly from the debugging child.

We can remove the extra "already dead" test, since this will be detected
in the destructor anyway.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
server/eventscript.c