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

Issue 462423003: WorkerThread should not start execution if WorkerThread::stop is already called (Closed)

Created:
6 years, 4 months ago by haraken
Modified:
6 years, 4 months ago
CC:
blink-reviews, kinuko+worker_chromium.org, horo+watch_chromium.org, falken
Project:
blink
Visibility:
Public.

Description

WorkerThread should not start execution if WorkerThread::stop is already called If WorkerThread::stop is already called, WorkerThread::initialize should return immediately without starting the thread execution. BUG=403179 TEST=none (it's timing-dependent) Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180139

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -9 lines) Patch
M Source/core/workers/WorkerThread.cpp View 1 2 3 4 4 chunks +11 lines, -9 lines 1 comment Download

Messages

Total messages: 11 (0 generated)
haraken
PTAL
6 years, 4 months ago (2014-08-13 02:03:13 UTC) #1
horo
I think we have to call workerGlobalScopeDestroyed() to delete WorkerMessagingProxy (for dedicated workers), WebSharedWorkerImpl (for ...
6 years, 4 months ago (2014-08-13 03:32:29 UTC) #2
haraken
> I think we have to call workerGlobalScopeDestroyed() to delete > WorkerMessagingProxy (for dedicated workers), ...
6 years, 4 months ago (2014-08-13 04:13:42 UTC) #3
haraken
https://codereview.chromium.org/462423003/diff/80001/Source/core/workers/WorkerThread.cpp File Source/core/workers/WorkerThread.cpp (right): https://codereview.chromium.org/462423003/diff/80001/Source/core/workers/WorkerThread.cpp#newcode251 Source/core/workers/WorkerThread.cpp:251: m_workerReportingProxy.workerGlobalScopeDestroyed(); I think that the name "workerGlobalScopeDestroyed" is a ...
6 years, 4 months ago (2014-08-13 04:48:55 UTC) #4
nasko
lgtm
6 years, 4 months ago (2014-08-13 05:23:25 UTC) #5
horo
lgtm
6 years, 4 months ago (2014-08-13 05:24:36 UTC) #6
haraken
horo-san: Would you take another look?
6 years, 4 months ago (2014-08-13 05:24:40 UTC) #7
haraken
oh, thanks!
6 years, 4 months ago (2014-08-13 05:24:52 UTC) #8
haraken
The CQ bit was checked by haraken@chromium.org
6 years, 4 months ago (2014-08-13 05:24:54 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/462423003/80001
6 years, 4 months ago (2014-08-13 05:25:58 UTC) #10
commit-bot: I haz the power
6 years, 4 months ago (2014-08-13 05:30:19 UTC) #11
Message was sent while issue was closed.
Change committed as 180139

Powered by Google App Engine
This is Rietveld 408576698