diff options
author | Rickard Green <[email protected]> | 2012-12-14 13:35:52 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2012-12-14 13:35:52 +0100 |
commit | 8edb829834be4749f72a0e380a4314a7654f3c84 (patch) | |
tree | 2db79e785fc348317eb4bc3d9f2d0b2cbefd8ad0 /erts | |
parent | faf66ee365f89252dd6367a7549a0b789879ce2e (diff) | |
download | otp-8edb829834be4749f72a0e380a4314a7654f3c84.tar.gz otp-8edb829834be4749f72a0e380a4314a7654f3c84.tar.bz2 otp-8edb829834be4749f72a0e380a4314a7654f3c84.zip |
Fix scheduled port link operation
Diffstat (limited to 'erts')
-rw-r--r-- | erts/emulator/beam/io.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); } } } |