forked from space-syndicate/space-station-14
In autogen mode (DestinationFile set), Init() returns early before _dbManager.Init() is called. But Dispose() was calling _dbManager.Shutdown() specifically when DestinationFile was set, causing NullReferenceException. Inverted the condition so shutdown only happens in normal mode when managers were actually initialized.