diff options
author | Jose <jose@zeroc.com> | 2018-02-22 12:31:35 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2018-02-22 12:31:35 +0100 |
commit | f61c4105b3df847e87df39388fea01ad0c820075 (patch) | |
tree | 9e995b8f72e2092f0571808781354f59a9866b99 /cpp/src/Ice/UdpTransceiver.cpp | |
parent | Fix ami test script to run collocated test only if available (diff) | |
download | ice-f61c4105b3df847e87df39388fea01ad0c820075.tar.bz2 ice-f61c4105b3df847e87df39388fea01ad0c820075.tar.xz ice-f61c4105b3df847e87df39388fea01ad0c820075.zip |
UWP crash if udp send completes after transceiver is close
Diffstat (limited to 'cpp/src/Ice/UdpTransceiver.cpp')
-rwxr-xr-x | cpp/src/Ice/UdpTransceiver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Ice/UdpTransceiver.cpp b/cpp/src/Ice/UdpTransceiver.cpp index 9a8c534683b..b2c29a95676 100755 --- a/cpp/src/Ice/UdpTransceiver.cpp +++ b/cpp/src/Ice/UdpTransceiver.cpp @@ -576,7 +576,7 @@ IceInternal::UdpTransceiver::getOutputStreamCompleted(concurrency::task<IOutputS void IceInternal::UdpTransceiver::finishWrite(Buffer& buf) { - if(_state < StateConnected) + if(_fd == INVALID_SOCKET || _state < StateConnected) { return; } |