~asdfghrbljzmkd/+junk/trunk-old

« back to all changes in this revision

Viewing changes to src/utils/separate_process.cpp

  • Committer: Deve
  • Date: 2018-08-15 21:53:14 UTC
  • Revision ID: git-v1:ecc5aaf86954c9e35f6a4087492c39af0825b150
Fixed some crashes

Show diffs side-by-side

added added

removed removed

Lines of Context:
357
357
    argv.push_back(const_cast<char*>(parent_pid.c_str()));
358
358
    
359
359
    Log::info("SeparateProcess", "Starting main()");
360
 
    std::thread child_process(main_proc, argv.size(), &argv[0]);
 
360
    m_child_thread = std::thread(main_proc, argv.size(), &argv[0]);
361
361
    
362
362
    return true;
363
363
}