Skip to content

Commit

Permalink
Fixed FSEvent finalizer call.
Browse files Browse the repository at this point in the history
  • Loading branch information
brixen committed Feb 7, 2016
1 parent 1350614 commit 6bb4288
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions vm/builtin/fsevent.cpp
Expand Up @@ -81,8 +81,9 @@ namespace rubinius {
if((fsevent->in_ = inotify_init()) < 0) {
logger::error("%s: unable to create inotify", strerror(errno));
} else {
state->memory()->needs_finalization(fsevent, (FinalizerFunction)&FSEvent::finalize,
FinalizeObject::eUnmanaged);
state->memory()->needs_finalization(fsevent,
(memory::FinalizerFunction)&FSEvent::finalize,
memory::FinalizeObject::eUnmanaged);
}

return fsevent;
Expand Down

0 comments on commit 6bb4288

Please sign in to comment.