git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@206
c11ca15a-4712-0410-83d8-
924469b57eb5
- $SIG{__WARN__} = 'doWarn';
+ $SIG{__WARN__} = 'doWarn'; # ???
}
# Usage: &IsParam($param);
}
# Usage: &IsParam($param);
sub shutdown {
# reverse order of &setup().
sub shutdown {
# reverse order of &setup().
+ &DEBUG("shutdown called.");
+
&closeDB();
&closeSHM($shm); # aswell. TODO: use this in &doExit?
&closeLog();
&closeDB();
&closeSHM($shm); # aswell. TODO: use this in &doExit?
&closeLog();