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

Issue 495813002: Fix memory leak in unittest - the testCases variable doesn't release the (Closed)

Created:
6 years, 4 months ago by dgrove
Modified:
6 years, 4 months ago
Reviewers:
Bob Nystrom, kevmoo
CC:
reviews_dartlang.org, Chris Bracken
Visibility:
Public.

Description

Fix memory leak in unittest - the testCases variable doesn't release the closure of each test after it runs. R=rnystrom@google.com Committed: https://code.google.com/p/dart/source/detail?r=39438

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -5 lines) Patch
M pkg/unittest/lib/src/test_case.dart View 1 2 chunks +8 lines, -4 lines 0 comments Download
M pkg/unittest/pubspec.yaml View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
dgrove
6 years, 4 months ago (2014-08-20 22:59:56 UTC) #1
Bob Nystrom
lgtm https://codereview.chromium.org/495813002/diff/1/pkg/unittest/lib/src/test_case.dart File pkg/unittest/lib/src/test_case.dart (right): https://codereview.chromium.org/495813002/diff/1/pkg/unittest/lib/src/test_case.dart#newcode124 pkg/unittest/lib/src/test_case.dart:124: _setUp = _tearDown = _testFunction = null; Nit, ...
6 years, 4 months ago (2014-08-20 23:39:30 UTC) #2
dgrove
On 2014/08/20 23:39:30, Bob Nystrom wrote: > lgtm > > https://codereview.chromium.org/495813002/diff/1/pkg/unittest/lib/src/test_case.dart > File pkg/unittest/lib/src/test_case.dart (right): ...
6 years, 4 months ago (2014-08-20 23:41:00 UTC) #3
dgrove
6 years, 4 months ago (2014-08-20 23:42:46 UTC) #4
Message was sent while issue was closed.
Committed patchset #3 manually as r39438 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698