diff options
author | Adam <Adam@anope.org> | 2011-08-11 23:10:08 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-08-11 23:10:08 -0400 |
commit | d44a1d08673c6f78df162a76616152fc2ea7cbd5 (patch) | |
tree | db1819fa65c3f84ec5e630441052f73127e194b6 /src/main.cpp | |
parent | c2780e1de47b4aead8ca5e2c7a7675ea987a9bb4 (diff) |
Fixed Windows runtime problems
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 97ee2a844..df3d217dd 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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()); |