You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
finalizeWith should pass the return value back to destroy as though the C
closure had been invoked directly.
spotted thusly:
const _close = new dl.CFunction(ffi.int, "close", ffi.int);
...
this.fd = +fd;
this.gcFd = fd; /* keep the boxed fd as a GC root to prevent finalization */
...
if (this.gcFd.destroy() != 0)
throw new Error("Could not close socket on fd " + (0+this.fd) + syserr());
The exception was thrown, however truss confirms that the system call returned
zero.
Original issue reported on code.google.com by wes@page.ca on 11 Dec 2012 at 6:35
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
wes@page.ca
on 11 Dec 2012 at 6:35The text was updated successfully, but these errors were encountered: