From 3eba9e87502ffeb9545d8ed024b919c4ae6019c4 Mon Sep 17 00:00:00 2001 From: Etienne Cimon Date: Mon, 18 Dec 2023 19:22:13 -0500 Subject: [PATCH] Disable debugger by default --- dub.json | 4 +--- source/libasync/test.d | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/dub.json b/dub.json index c45ad1a..0fd1750 100644 --- a/dub.json +++ b/dub.json @@ -17,7 +17,5 @@ "name": "regular", "sourceFiles-windows-x86-dmd": ["ws2_32_ex.lib"] } - ], - "versions": ["EnableDebugger"] - + ] } diff --git a/source/libasync/test.d b/source/libasync/test.d index 2b08965..ae19941 100644 --- a/source/libasync/test.d +++ b/source/libasync/test.d @@ -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;