Fixed mutex not being unlocked, only the O.G locker could continue resursively lokcing it

This commit is contained in:
Tristan B. Kildaire 2020-09-25 12:53:34 +02:00
parent 723d44aa1f
commit 4394dc9ae2
2 changed files with 3 additions and 0 deletions

View File

@ -211,6 +211,8 @@ public class DConnection : Thread
/* Get the channel names */
string channelList = cast(string)message.data[1..message.data.length];
string[] channels = split(channelList, ",");
import std.stdio;
writeln("channelList length"~to!(string)(channelList.length));
/**
* Loop through each channel, check if it

View File

@ -16,6 +16,7 @@ import dnetd.dconnection;
import dnetd.dchannel;
import std.string : cmp;
import core.sync.mutex : Mutex;
import std.stdio;
public class DServer : Thread
{