aboutsummaryrefslogtreecommitdiffstats
path: root/erts/etc/common/escript.c
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2015-09-24 12:57:42 +0200
committerSiri Hansen <[email protected]>2015-09-24 13:13:55 +0200
commitfa096962df681f39b1dfe4191f0f3ecc177d906c (patch)
tree4ff521e1f0069bf846e6bfa6d134183545da9b5d /erts/etc/common/escript.c
parentc2fd9dc8a249a4cb093e9133fd3a3cf0d6711ff5 (diff)
downloadotp-fa096962df681f39b1dfe4191f0f3ecc177d906c.tar.gz
otp-fa096962df681f39b1dfe4191f0f3ecc177d906c.tar.bz2
otp-fa096962df681f39b1dfe4191f0f3ecc177d906c.zip
Flush timeout message from message queue when canceling timer
In ct_netconfc, if a timer expired 'at the same time' as the server sent the rpc-reply, the timeout message might already be in the client's message queue when the client removed the timer ref from its 'pending' list. This caused a crash in the client since the timer ref could no longer be found when handling the timeout message. This commit fixes the problem by always flushing the timeout message from the message queue when canceling a timer.
Diffstat (limited to 'erts/etc/common/escript.c')
0 files changed, 0 insertions, 0 deletions