Example #1
0
 private static BridgeUpdater CheckForRemove(BridgeUpdater updater, IJsCsGlue glue)
 {
     if (glue.Release())
     {
         updater.Remove(glue);
     }
     return(updater);
 }
        private void CheckForRemoveNoReturn(IJsCsGlue old)
        {
            if (old?.Release() != true)
            {
                return;
            }

            _ExitingObjects = _ExitingObjects ?? new HashSet <IJsCsGlue>();
            CollectAllRemoved(old, _ExitingObjects);
        }