1. evhan
  2. chicken-fuse

Commits

evhan  committed 33593e6

Void fuse_exited thunk to avoid invocation after fuse_destroy

  • Participants
  • Parent commits cf0e15a
  • Branches master

Comments (0)

Files changed (1)

File fuse.scm

View file
  • Ignore whitespace
 
 (define (mount-stop! mount)
   ((mount-synchronization-handler mount)
-   (lambda (m _ _)
+   (lambda (m c _)
      (mutex-lock! m)
      (let ((shutdown-handler (mount-shutdown-handler mount)))
        (mount-shutdown-handler-set! mount void)
+       (mount-synchronization-handler-set! mount (cut <> m c void))
        (call/cc (cut with-exception-handler <> shutdown-handler))
        (mount-status-set! mount 'stopped)
        (mutex-unlock! m)))))