File tree Expand file tree Collapse file tree 20 files changed +60
-20
lines changed
01.problem.annotations/src
01.solution.annotations/src
02.problem.structured/src
02.solution.structured/src
02.problem.cancellation/src
02.solution.cancellation/src
01.problem.list-changed/src
01.solution.list-changed/src
02.problem.resources-list-changed/src
02.solution.resources-list-changed/src
03.problem.subscriptions/src
03.solution.subscriptions/src Expand file tree Collapse file tree 20 files changed +60
-20
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,9 @@ async function setupClient({ capabilities = {} } = {}) {
3636 EPIC_ME_DB_PATH ,
3737 async [ Symbol . asyncDispose ] ( ) {
3838 await client . transport ?. close ( )
39- await fs . unlink ( EPIC_ME_DB_PATH ) . catch ( ( ) => { } )
39+ // give things a moment to release locks and whatnot
40+ await new Promise ( ( r ) => setTimeout ( r , 100 ) )
41+ await fs . unlink ( EPIC_ME_DB_PATH ) . catch ( ( ) => { } ) // ignore missing file
4042 } ,
4143 }
4244}
Original file line number Diff line number Diff line change @@ -36,7 +36,9 @@ async function setupClient({ capabilities = {} } = {}) {
3636 EPIC_ME_DB_PATH ,
3737 async [ Symbol . asyncDispose ] ( ) {
3838 await client . transport ?. close ( )
39- await fs . unlink ( EPIC_ME_DB_PATH ) . catch ( ( ) => { } )
39+ // give things a moment to release locks and whatnot
40+ await new Promise ( ( r ) => setTimeout ( r , 100 ) )
41+ await fs . unlink ( EPIC_ME_DB_PATH ) . catch ( ( ) => { } ) // ignore missing file
4042 } ,
4143 }
4244}
Original file line number Diff line number Diff line change @@ -36,7 +36,9 @@ async function setupClient({ capabilities = {} } = {}) {
3636 EPIC_ME_DB_PATH ,
3737 async [ Symbol . asyncDispose ] ( ) {
3838 await client . transport ?. close ( )
39- await fs . unlink ( EPIC_ME_DB_PATH ) . catch ( ( ) => { } )
39+ // give things a moment to release locks and whatnot
40+ await new Promise ( ( r ) => setTimeout ( r , 100 ) )
41+ await fs . unlink ( EPIC_ME_DB_PATH ) . catch ( ( ) => { } ) // ignore missing file
4042 } ,
4143 }
4244}
Original file line number Diff line number Diff line change @@ -36,7 +36,9 @@ async function setupClient({ capabilities = {} } = {}) {
3636 EPIC_ME_DB_PATH ,
3737 async [ Symbol . asyncDispose ] ( ) {
3838 await client . transport ?. close ( )
39- await fs . unlink ( EPIC_ME_DB_PATH ) . catch ( ( ) => { } )
39+ // give things a moment to release locks and whatnot
40+ await new Promise ( ( r ) => setTimeout ( r , 100 ) )
41+ await fs . unlink ( EPIC_ME_DB_PATH ) . catch ( ( ) => { } ) // ignore missing file
4042 } ,
4143 }
4244}
Original file line number Diff line number Diff line change @@ -37,7 +37,9 @@ async function setupClient({ capabilities = {} } = {}) {
3737 EPIC_ME_DB_PATH ,
3838 async [ Symbol . asyncDispose ] ( ) {
3939 await client . transport ?. close ( )
40- await fs . unlink ( EPIC_ME_DB_PATH ) . catch ( ( ) => { } )
40+ // give things a moment to release locks and whatnot
41+ await new Promise ( ( r ) => setTimeout ( r , 100 ) )
42+ await fs . unlink ( EPIC_ME_DB_PATH ) . catch ( ( ) => { } ) // ignore missing file
4143 } ,
4244 }
4345}
Original file line number Diff line number Diff line change @@ -37,7 +37,9 @@ async function setupClient({ capabilities = {} } = {}) {
3737 EPIC_ME_DB_PATH ,
3838 async [ Symbol . asyncDispose ] ( ) {
3939 await client . transport ?. close ( )
40- await fs . unlink ( EPIC_ME_DB_PATH ) . catch ( ( ) => { } )
40+ // give things a moment to release locks and whatnot
41+ await new Promise ( ( r ) => setTimeout ( r , 100 ) )
42+ await fs . unlink ( EPIC_ME_DB_PATH ) . catch ( ( ) => { } ) // ignore missing file
4143 } ,
4244 }
4345}
Original file line number Diff line number Diff line change @@ -42,7 +42,9 @@ async function setupClient({ capabilities = {} } = {}) {
4242 EPIC_ME_DB_PATH ,
4343 async [ Symbol . asyncDispose ] ( ) {
4444 await client . transport ?. close ( )
45- await fs . unlink ( EPIC_ME_DB_PATH ) . catch ( ( ) => { } )
45+ // give things a moment to release locks and whatnot
46+ await new Promise ( ( r ) => setTimeout ( r , 100 ) )
47+ await fs . unlink ( EPIC_ME_DB_PATH ) . catch ( ( ) => { } ) // ignore missing file
4648 } ,
4749 }
4850}
Original file line number Diff line number Diff line change @@ -42,7 +42,9 @@ async function setupClient({ capabilities = {} } = {}) {
4242 EPIC_ME_DB_PATH ,
4343 async [ Symbol . asyncDispose ] ( ) {
4444 await client . transport ?. close ( )
45- await fs . unlink ( EPIC_ME_DB_PATH ) . catch ( ( ) => { } )
45+ // give things a moment to release locks and whatnot
46+ await new Promise ( ( r ) => setTimeout ( r , 100 ) )
47+ await fs . unlink ( EPIC_ME_DB_PATH ) . catch ( ( ) => { } ) // ignore missing file
4648 } ,
4749 }
4850}
Original file line number Diff line number Diff line change @@ -42,7 +42,9 @@ async function setupClient({ capabilities = {} } = {}) {
4242 EPIC_ME_DB_PATH ,
4343 async [ Symbol . asyncDispose ] ( ) {
4444 await client . transport ?. close ( )
45- await fs . unlink ( EPIC_ME_DB_PATH ) . catch ( ( ) => { } )
45+ // give things a moment to release locks and whatnot
46+ await new Promise ( ( r ) => setTimeout ( r , 100 ) )
47+ await fs . unlink ( EPIC_ME_DB_PATH ) . catch ( ( ) => { } ) // ignore missing file
4648 } ,
4749 }
4850}
Original file line number Diff line number Diff line change @@ -42,7 +42,9 @@ async function setupClient({ capabilities = {} } = {}) {
4242 EPIC_ME_DB_PATH ,
4343 async [ Symbol . asyncDispose ] ( ) {
4444 await client . transport ?. close ( )
45- await fs . unlink ( EPIC_ME_DB_PATH ) . catch ( ( ) => { } )
45+ // give things a moment to release locks and whatnot
46+ await new Promise ( ( r ) => setTimeout ( r , 100 ) )
47+ await fs . unlink ( EPIC_ME_DB_PATH ) . catch ( ( ) => { } ) // ignore missing file
4648 } ,
4749 }
4850}
You can’t perform that action at this time.
0 commit comments