mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
Auto-commit fuse_signals.cpp
This commit is contained in:
parent
8784556b8c
commit
8f5961d132
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ void fuse_remove_signal_handlers(struct fuse_session *se)
|
|||
if(g_fuse_instance.load(std::memory_order_acquire) != se)
|
||||
fprintf(stderr,"mergerfs: fuse_remove_signal_handlers: unknown session\n");
|
||||
else
|
||||
fuse_instance = NULL;
|
||||
g_fuse_instance.store(nullptr,std::memory_order_release);
|
||||
|
||||
set_one_signal_handler(SIGINT, exit_handler, 1);
|
||||
set_one_signal_handler(SIGTERM, exit_handler, 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue