Closed Bug 488146 Opened 16 years ago Closed 16 years ago

AsyncExecuteStatements does not release lock in common case when it needs to

Categories

(Core :: SQLite and Embedded Database Bindings, defect)

defect
Not set
normal

Tracking

()

VERIFIED INVALID
mozilla1.9.2a1

People

(Reporter: sdwilsh, Assigned: zpao)

Details

Attachments

(1 file)

In Run, we need to release the lock before calling NotifyComplete.  We have an invariant about not holding the lock when calling that function (but no way to assert it's true, sadly).
Hey, even better - NotifyResults has the same issue, so it needs to be released before we call that!
Attached patch Patch v0.1Splinter Review
Assignee: sdwilsh → paul
Attachment #372421 - Flags: review?(sdwilsh)
Turns out Mr. Wilsher missed something and this is actually invalid.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → INVALID
Yeah, there are scope brackets around the mutex holding that I somehow missed.  I am blind.
Status: RESOLVED → VERIFIED
Attachment #372421 - Flags: review?(sdwilsh)
Product: Toolkit → Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: