diff --git a/example/client/dub.selections.json b/example/client/dub.selections.json index 226783f..11f6af2 100644 --- a/example/client/dub.selections.json +++ b/example/client/dub.selections.json @@ -2,6 +2,6 @@ "fileVersion": 1, "versions": { "bformat": "1.0.8", - "tristanable": "0.0.17" + "tristanable": "0.0.18" } } diff --git a/example/server/dub.selections.json b/example/server/dub.selections.json index 226783f..11f6af2 100644 --- a/example/server/dub.selections.json +++ b/example/server/dub.selections.json @@ -2,6 +2,6 @@ "fileVersion": 1, "versions": { "bformat": "1.0.8", - "tristanable": "0.0.17" + "tristanable": "0.0.18" } } diff --git a/source/tristanable/garbage.d b/source/tristanable/garbage.d index 208d7b0..5c48d14 100644 --- a/source/tristanable/garbage.d +++ b/source/tristanable/garbage.d @@ -42,10 +42,10 @@ public final class GarbageCollector : Thread /* Construct a new list */ Request[] newList; - /* Only add to this list unfulfilled requests */ + /* Only add to this list undead requests */ foreach(Request request; *requestQueueVariable) { - if(!request.isFulfilled()) + if(!request.isDead) { newList ~= request; }