Skip to content

Commit

Permalink
Disable debugger by default
Browse files Browse the repository at this point in the history
  • Loading branch information
etcimon committed Dec 19, 2023
1 parent 7d37cbf commit 3eba9e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions dub.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,5 @@
"name": "regular",
"sourceFiles-windows-x86-dmd": ["ws2_32_ex.lib"]
}
],
"versions": ["EnableDebugger"]

]
}
2 changes: 1 addition & 1 deletion source/libasync/test.d
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ void testSharedEvent() {
void testOneshotTimer() {
g_timerOneShot = new AsyncTimer(g_evl);
g_timerOneShot.duration(1.seconds).run({
assert(!g_cbCheck[4] && Clock.currTime() - gs_start > 900.msecs && Clock.currTime() - gs_start < 1700.msecs, "Timer completed in " ~ (Clock.currTime() - gs_start).total!"msecs".to!string ~ "ms" );
assert(!g_cbCheck[4] && Clock.currTime() - gs_start > 900.msecs && Clock.currTime() - gs_start < 2500.msecs, "Timer completed in " ~ (Clock.currTime() - gs_start).total!"msecs".to!string ~ "ms" );
assert(g_timerOneShot.id != 0);
//writeln("Got timer callback!");
g_cbCheck[4] = true;
Expand Down

0 comments on commit 3eba9e8

Please sign in to comment.