Esempio n. 1
0
 def _shutdown_cached_bundle_processors(cached_bundle_processors):
     try:
         while True:
             # pop() is threadsafe
             bundle_processor = cached_bundle_processors.pop()
             bundle_processor.shutdown()
     except IndexError:
         pass
Esempio n. 2
0
 def _shutdown_cached_bundle_processors(cached_bundle_processors):
   # type: (List[bundle_processor.BundleProcessor]) -> None
   try:
     while True:
       # pop() is threadsafe
       bundle_processor = cached_bundle_processors.pop()
       bundle_processor.shutdown()
   except IndexError:
     pass