DescriptionDelay OnClose actions.
If we reset delegate_ in OnClose, some pending tasks for DoOnReceivedData
would fail to notify received data to the delegate.
Don't reset delegate_ and socket_ in OnClose. Do it in DoOnClose instead.
BUG=none
TEST=none
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30036
Patch Set 1 #
Total comments: 2
Patch Set 2 : add num_pending_tasks_ #
Total comments: 4
Patch Set 3 : socket_ = NULL in OnClose #Patch Set 4 : s/there is/there are/ #Messages
Total messages: 6 (0 generated)
|