Skip to content
Snippets Groups Projects
Commit e37e8740 authored by Martin Stjernholm's avatar Martin Stjernholm
Browse files

Don't throw on destructed close callbacks.

Rev: lib/modules/Remote.pmod/connection.pike:1.16
parent 6a28f834
Branches
Tags
No related merge requests found
......@@ -195,7 +195,7 @@ void closed_connection(int|void ignore)
foreach(close_callbacks, function|array f)
if(functionp(f))
f();
else
else if (functionp(f[0]))
f[0](@f[1..]);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment