Skip to content
Snippets Groups Projects
  1. Jun 06, 2016
  2. Jun 04, 2016
    • Christoph Groth's avatar
      remove code for shutting down the management coro when the executor is GCed · 0d3d3270
      Christoph Groth authored
      While this is useful to shut down a management thread when the executor gets
      garbage collected, this techinque is not suited for a management coroutine.
      For it to work the executor must be collected while the event loop is still
      running.  In practice this will be often not the case and the shutdown will not
      work as intended.
      
      Instead, it is recommended to always use the async context manager that ensures
      correct shutdown.  The i_will_remember_to_shutdown=False argument was added to
      ProcessPoolExecutor.__init__ to help detect mistakes.
      0d3d3270
  3. Jun 03, 2016
Loading