Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Add missing disposal check. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | tkt-5cee5409f8 |
Files: | files | file ages | folders |
SHA1: | e499efc92e8e9b729c12eb75137da8eb |
User & Date: | mistachkin 2018-01-27 20:04:17 |
Context
2018-01-27
| ||
21:13 | Add initial tests for ticket [5cee5409f8]. check-in: e30a873204 user: mistachkin tags: tkt-5cee5409f8 | |
20:04 | Add missing disposal check. check-in: e499efc92e user: mistachkin tags: tkt-5cee5409f8 | |
20:01 | Minor revision to the previous check-in, check for the pathological case of time going backwards while sleeping. check-in: 2ac7dd7c98 user: mistachkin tags: tkt-5cee5409f8 | |
Changes
Changes to System.Data.SQLite/SQLiteConnection.cs.
3456 3456 /// other threads); therefore, callers should generally use try/catch 3457 3457 /// when calling the <see cref="EnlistTransaction" /> method. 3458 3458 /// </returns> 3459 3459 public bool WaitForEnlistmentReset( 3460 3460 int timeoutMilliseconds 3461 3461 ) 3462 3462 { 3463 + CheckDisposed(); 3464 + 3463 3465 if (timeoutMilliseconds < 0) 3464 3466 throw new ArgumentException("timeout cannot be negative"); 3465 3467 3466 3468 const int defaultMilliseconds = 100; 3467 3469 int sleepMilliseconds; 3468 3470 3469 3471 if (timeoutMilliseconds == 0)