zturner added a comment.

Couldn't we just add a creator helper so that you can say:

  auto cleanup = makeCleanupRAII([&] {
      process_sp->Destroy(/*force_kill=*/false);
      debugger.StopEventHandlerThread();
    });


https://reviews.llvm.org/D43662



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to