示例#1
0
        protected override void Dispose(bool disposing)
        {
            _executor.Dispose();

            // FIXME: oh no is it permissible to lock in the GC thread or can we deadlock?
            refCount <hypervisor_iLo_HTTP> ilo;

            lock (_ilos)
            {
                ilo = _ilos[_spec.iLoHostname];
            }

            lock (ilo)
            {
                ilo.tgt.Dispose();
            }

            base.Dispose(disposing);
        }
示例#2
0
        protected override void Dispose(bool disposing)
        {
            executor.Dispose();

            base.Dispose(disposing);
        }