mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
include process id in expect buffer name
This commit is contained in:
parent
19ea3489cb
commit
2b60cb1dcd
2 changed files with 10 additions and 5 deletions
|
@ -921,9 +921,9 @@ fn roc_dev_native(
|
|||
|
||||
let mut signals = Signals::new(&[SIGCHLD, SIGUSR1]).unwrap();
|
||||
|
||||
// let shm_name = format!("/roc_expect_buffer_{}", std::process::id());
|
||||
let shm_name = "/roc_expect_buffer";
|
||||
let memory = ExpectMemory::create_or_reuse_mmap(shm_name);
|
||||
// let shm_name =
|
||||
let shm_name = format!("/roc_expect_buffer_{}", std::process::id());
|
||||
let memory = ExpectMemory::create_or_reuse_mmap(&shm_name);
|
||||
|
||||
let layout_interner = layout_interner.into_global();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue