Force the servers out of scope before shutting down. Fixes ticket #1594.

(cherry picked from commit 0b175b191fe4b080fdf9680cecde3ea66ec9b949)
This commit is contained in:
Ramon Novoa 2015-02-13 12:45:28 +01:00
parent f5728b83aa
commit 638b555bd7

View File

@ -70,7 +70,8 @@ sub pandora_shutdown () {
$server->downEvent ();
$server->stop ();
}
@Servers = ();
# Stop the netflow daemon
pandora_stop_netflow_daemon ();