diff options
author | Patrik Nyblom <[email protected]> | 2012-04-18 11:56:19 +0200 |
---|---|---|
committer | Patrik Nyblom <[email protected]> | 2012-04-18 11:56:19 +0200 |
commit | cff02d4925bfd6ed88d9d7b897f4b4416e4643ce (patch) | |
tree | edb748eddafa80d084cf5ef271d68b042d8f0a80 /erts/emulator/beam/io.c | |
parent | 00668f8cbae565d482e9ad72a63f846cef8e8071 (diff) | |
parent | a76628f8f0de895e318c11585a53983e476d692c (diff) | |
download | otp-cff02d4925bfd6ed88d9d7b897f4b4416e4643ce.tar.gz otp-cff02d4925bfd6ed88d9d7b897f4b4416e4643ce.tar.bz2 otp-cff02d4925bfd6ed88d9d7b897f4b4416e4643ce.zip |
Merge branch 'maint'
Conflicts:
lib/hipe/cerl/erl_bif_types.erl
Diffstat (limited to 'erts/emulator/beam/io.c')
-rw-r--r-- | erts/emulator/beam/io.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/beam/io.c b/erts/emulator/beam/io.c index 53a25f5136..a685f41c4d 100644 --- a/erts/emulator/beam/io.c +++ b/erts/emulator/beam/io.c @@ -440,6 +440,7 @@ setup_port(Port* prt, Eterm pid, erts_driver_t *driver, sys_strcpy(new_name, name); erts_smp_runq_lock(runq); erts_smp_port_state_lock(prt); + prt->os_pid = -1; prt->status = ERTS_PORT_SFLG_CONNECTED | xstatus; prt->snapshot = erts_smp_atomic32_read_nob(&erts_ports_snapshot); old_name = prt->name; |