Closed
Bug 711536
Opened 14 years ago
Closed 14 years ago
finalize statements and close connection
Categories
(Toolkit :: Downloads API, defect)
Tracking
()
RESOLVED
FIXED
mozilla12
People
(Reporter: espindola, Assigned: espindola)
References
Details
Attachments
(1 file)
|
1.44 KB,
patch
|
mak
:
review+
|
Details | Diff | Splinter Review |
No description provided.
| Assignee | ||
Comment 1•14 years ago
|
||
Comment 2•14 years ago
|
||
Comment on attachment 582321 [details] [diff] [review]
finalize statements and close connection
Review of attachment 582321 [details] [diff] [review]:
-----------------------------------------------------------------
::: toolkit/components/downloads/nsDownloadManager.cpp
@@ +1954,5 @@
> +
> + mGetIdsForURIStatement->Finalize();
> + mUpdateDownloadStatement->Finalize();
> + mozilla::DebugOnly<nsresult> rv = mDBConn->Close();
> + MOZ_ASSERT(NS_SUCCEEDED(rv));
please just set the statements to nsnull and add the usual comment like // Null statements to finalize them.
apart that looks ok, it's a bit hard to figure out if someone is using the provided DBConnection for async work, I couldn't find any.
Attachment #582321 -
Flags: review?(mak77) → review+
| Assignee | ||
Comment 3•14 years ago
|
||
Comment 4•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla11
Comment 5•14 years ago
|
||
For reference, this was uplifted to Aurora (seemingly without any approval here?) in http://hg.mozilla.org/releases/mozilla-aurora/rev/64a62ab8cf98, and backed out to un-regress bug 713172 in http://hg.mozilla.org/releases/mozilla-aurora/rev/cd135c7ca5af.
Comment 6•14 years ago
|
||
(In reply to Josh Matthews [:jdm] from comment #5)
> For reference, this was uplifted to Aurora (seemingly without any approval
> here?)
IIRC it was just part of the merge from central to aurora on the merge day.
Btw, moving TM to 12
Target Milestone: mozilla11 → mozilla12
You need to log in
before you can comment on or make changes to this bug.
Description
•