diff options
author | Sverker Eriksson <[email protected]> | 2017-09-19 17:44:47 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2017-11-15 20:13:03 +0100 |
commit | 56ab31904f7157d7b4282c2afd474c7bed7b9c75 (patch) | |
tree | 91736eacd66400968414d459bee2051668a2ef02 /erts/emulator/beam/dist.c | |
parent | e4d28f70133af9b3b8c320fe5e70e2086830874d (diff) | |
download | otp-56ab31904f7157d7b4282c2afd474c7bed7b9c75.tar.gz otp-56ab31904f7157d7b4282c2afd474c7bed7b9c75.tar.bz2 otp-56ab31904f7157d7b4282c2afd474c7bed7b9c75.zip |
Remove faulty assert
Send may have failed, port exit with dist_entry cleaned up
and then new pending connection with queued messages.
Diffstat (limited to 'erts/emulator/beam/dist.c')
-rw-r--r-- | erts/emulator/beam/dist.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/erts/emulator/beam/dist.c b/erts/emulator/beam/dist.c index a5df92bf9a..474b0e8364 100644 --- a/erts/emulator/beam/dist.c +++ b/erts/emulator/beam/dist.c @@ -2480,11 +2480,6 @@ erts_dist_command(Port *prt, int initial_reds) foq.first = NULL; foq.last = NULL; -#ifdef DEBUG - erts_mtx_lock(&dep->qlock); - ASSERT(erts_atomic_read_nob(&dep->qsize) == obufsize); - erts_mtx_unlock(&dep->qlock); -#endif } else { if (oq.first) { |