Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(207)

Issue 7307031: Remove DCHECK from HeartbeatSender::OnSignallingDisconnected() (Closed)

Created:
9 years, 5 months ago by Lambros
Modified:
9 years, 5 months ago
CC:
chromium-reviews, jamiewalch+watch_chromium.org, hclam+watch_chromium.org, simonmorris+watch_chromium.org, wez+watch_chromium.org, dmaclach+watch_chromium.org, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, ajwong+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Remove DCHECK from HeartbeatSender::OnSignallingDisconnected() Allow that method to be called without a corresponding call to OnSignalConnected() - the linked bug-report explains how this can happen. This is only a partial bug-fix; still need to address the problem of this method being called on the wrong thread from ChromotingHost::Shutdown(). BUG=83788 TEST=Manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=91737

Patch Set 1 #

Total comments: 1

Patch Set 2 : Address Wez's comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -1 line) Patch
M remoting/host/heartbeat_sender.cc View 1 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
Lambros
9 years, 5 months ago (2011-07-06 22:41:25 UTC) #1
Wez
Drive-by... http://codereview.chromium.org/7307031/diff/1/remoting/host/heartbeat_sender.cc File remoting/host/heartbeat_sender.cc (right): http://codereview.chromium.org/7307031/diff/1/remoting/host/heartbeat_sender.cc#newcode86 remoting/host/heartbeat_sender.cc:86: request_.reset(NULL); This change means that the heart-beat request ...
9 years, 5 months ago (2011-07-06 22:45:15 UTC) #2
Lambros
On 2011/07/06 22:45:15, Wez wrote: > Drive-by... > > http://codereview.chromium.org/7307031/diff/1/remoting/host/heartbeat_sender.cc > File remoting/host/heartbeat_sender.cc (right): > ...
9 years, 5 months ago (2011-07-06 23:13:00 UTC) #3
Sergey Ulanov
LGTM
9 years, 5 months ago (2011-07-06 23:17:28 UTC) #4
Lambros
9 years, 5 months ago (2011-07-06 23:18:55 UTC) #5
Wez
On 2011/07/06 23:13:00, Lambros wrote: > I still favor removing the DCHECK completely. In my ...
9 years, 5 months ago (2011-07-06 23:43:15 UTC) #6
commit-bot: I haz the power
9 years, 5 months ago (2011-07-07 19:00:28 UTC) #7
Change committed as 91737

Powered by Google App Engine
This is Rietveld 408576698