public void Dispose() { _userManager.Dispose(); _userManager = null; _programManager.Dispose(); _programManager = null; _tournamentManager.Dispose(); _tournamentManager = null; }
protected override void Dispose(bool disposing) { if (disposing) { _compilerManager.Dispose(); _compilerManager = null; _programManager.Dispose(); _programManager = null; _compilerResource = null; base.Dispose(disposing); } }