mirror of
https://github.com/anope/anope.git
synced 2026-06-27 22:36:39 +02:00
Fixed Windows runtime problems
This commit is contained in:
@@ -402,6 +402,10 @@ int main(int ac, char **av, char **envp)
|
||||
|
||||
ModuleManager::CleanupRuntimeDirectory();
|
||||
|
||||
#ifdef _WIN32
|
||||
OnShutdown();
|
||||
#endif
|
||||
|
||||
if (restarting)
|
||||
{
|
||||
chdir(binary_dir.c_str());
|
||||
|
||||
Reference in New Issue
Block a user