Fixed issue #3

This commit is contained in:
Tristan B. Kildaire 2020-06-23 14:25:08 +02:00
parent f440727800
commit c958370e37
3 changed files with 4 additions and 4 deletions

View File

@ -2,6 +2,6 @@
"fileVersion": 1,
"versions": {
"bformat": "1.0.8",
"tristanable": "0.0.17"
"tristanable": "0.0.18"
}
}

View File

@ -2,6 +2,6 @@
"fileVersion": 1,
"versions": {
"bformat": "1.0.8",
"tristanable": "0.0.17"
"tristanable": "0.0.18"
}
}

View File

@ -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;
}