Skip to content
  1. Sep 11, 2017
  2. Sep 10, 2017
  3. Sep 08, 2017
  4. Sep 07, 2017
  5. Sep 06, 2017
  6. Sep 05, 2017
  7. Sep 04, 2017
  8. Sep 03, 2017
  9. Sep 02, 2017
  10. Sep 01, 2017
  11. Aug 31, 2017
  12. Aug 30, 2017
  13. 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