Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 29361582: Issue 4613 - fix leak of Thread (Closed)

Created:
Nov. 3, 2016, 10:58 a.m. by sergei
Modified:
Nov. 21, 2016, 10:07 a.m.
Reviewers:
Oleksandr
CC:
Felix Dahlke
Visibility:
Public.

Description

TimeoutThread was not deleted, the change fixes it. It also contains refactoring which should help to delete Thread when known exception is thrown inside Thread::Run, which is going to be a part of #3594.

Patch Set 1 #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -17 lines) Patch
M src/FileSystemJsObject.cpp View 7 chunks +2 lines, -6 lines 1 comment Download
M src/GlobalJsObject.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M src/Thread.h View 1 chunk +4 lines, -1 line 0 comments Download
M src/Thread.cpp View 3 chunks +12 lines, -8 lines 5 comments Download
M src/WebRequestJsObject.cpp View 2 chunks +1 line, -2 lines 0 comments Download

Messages

Total messages: 5
sergei
Nov. 3, 2016, 11:04 a.m. (2016-11-03 11:04:06 UTC) #1
Oleksandr
Just two comments. Also, I think the refactoring deserves an issue. https://codereview.adblockplus.org/29361582/diff/29361583/src/Thread.cpp File src/Thread.cpp (right): ...
Nov. 7, 2016, 10:31 a.m. (2016-11-07 10:31:32 UTC) #2
sergei
On 2016/11/07 10:31:32, Oleksandr wrote: > Just two comments. Also, I think the refactoring deserves ...
Nov. 7, 2016, 1:04 p.m. (2016-11-07 13:04:13 UTC) #3
Oleksandr
ok, LGTM
Nov. 20, 2016, 11:52 p.m. (2016-11-20 23:52:02 UTC) #4
sergei
Nov. 21, 2016, 10:03 a.m. (2016-11-21 10:03:59 UTC) #5
https://codereview.adblockplus.org/29361582/diff/29361583/src/FileSystemJsObj...
File src/FileSystemJsObject.cpp (right):

https://codereview.adblockplus.org/29361582/diff/29361583/src/FileSystemJsObj...
src/FileSystemJsObject.cpp:22: #include <thread>
Sorry, overlooked, it's not used, so I won't include it into commit.

Powered by Google App Engine
This is Rietveld