mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-23 14:36:16 +02:00
Add talkative msg for coro gc debug
This commit is contained in:
parent
58d24a4cb6
commit
62ddd8633c
1 changed files with 1 additions and 0 deletions
|
@ -386,6 +386,7 @@ void initGC()
|
||||||
|
|
||||||
|
|
||||||
#if NIX_BOEHM_PATCH_VERSION != 1
|
#if NIX_BOEHM_PATCH_VERSION != 1
|
||||||
|
printTalkative("Unpatched BoehmGC, disabling GC inside coroutines");
|
||||||
/* Used to disable GC when entering coroutines on macOS */
|
/* Used to disable GC when entering coroutines on macOS */
|
||||||
create_coro_gc_hook = []() -> std::shared_ptr<void> {
|
create_coro_gc_hook = []() -> std::shared_ptr<void> {
|
||||||
return std::make_shared<BoehmDisableGC>();
|
return std::make_shared<BoehmDisableGC>();
|
||||||
|
|
Loading…
Reference in a new issue