use JSON as the ForkCall serialiser
[spider.git] / perl / DXCron.pm
index 70c8e6606515015731646ccc4a3e6490cb51c0ef..29b35ca4811d737743e8c35336487bda088e99e0 100644 (file)
@@ -249,6 +249,8 @@ sub spawn
                        # in child, unset warnings, disable debugging and general clean up from us
                        $^W = 0;
                        eval "{ package DB; sub DB {} }";
+                       dbgclose();
+                       Logclose();
                        DXChannel::closeall();
                        for (@main::listeners) {
                                $_->close_server;