public void Shutdown(bool wait = false) { ReferenceDictionary <DistSession> .Clear(); ReferenceDictionary <DistClient> .Clear(); ReferenceDictionary <DistObject> .Clear(); DistManager_shutDown(GetNativeReference(), wait); }