Fix crash on exit if a process is currently running

This commit is contained in:
Cameron Gutman
2023-05-14 21:05:15 -05:00
parent 9955890023
commit 32ca9d41de
3 changed files with 31 additions and 1 deletions

View File

@@ -14,6 +14,7 @@
#include <boost/process.hpp>
#include "config.h"
#include "platform/common.h"
#include "utility.h"
namespace proc {
@@ -116,5 +117,8 @@ namespace proc {
std::optional<proc::proc_t>
parse(const std::string &file_name);
std::unique_ptr<platf::deinit_t>
init();
extern proc_t proc;
} // namespace proc