Skip to content
  1. Sep 04, 2017
  2. Sep 03, 2017
  3. Sep 02, 2017
  4. Sep 01, 2017
  5. Aug 31, 2017
  6. Aug 30, 2017
  7. Aug 29, 2017
  8. Aug 28, 2017
    • Dan Fandrich's avatar
      asyn-thread: Fixed cleanup after OOM · df29455d
      Dan Fandrich authored
      destroy_async_data() assumes that if the flag "done" is not set yet, the
      thread itself will clean up once the request is complete.  But if an
      error (generally OOM) occurs before the thread even has a chance to
      start, it will never get a chance to clean up and memory will be leaked.
      By clearing "done" only just before starting the thread, the correct
      cleanup sequence will happen in all cases.
      df29455d