From 8edb829834be4749f72a0e380a4314a7654f3c84 Mon Sep 17 00:00:00 2001 From: Rickard Green Date: Fri, 14 Dec 2012 13:35:52 +0100 Subject: Fix scheduled port link operation --- erts/emulator/beam/io.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'erts/emulator') diff --git a/erts/emulator/beam/io.c b/erts/emulator/beam/io.c index be094862d4..b2111c52e9 100644 --- a/erts/emulator/beam/io.c +++ b/erts/emulator/beam/io.c @@ -2534,6 +2534,8 @@ port_link_failure(Eterm port_id, Eterm linker) if (IS_TRACED_FL(rp, F_TRACE_PROCS)) trace_proc(NULL, rp, am_getting_unlinked, port_id); } + if (rp_locks) + erts_smp_proc_unlock(rp, rp_locks); } } } -- cgit v1.2.3