mirror of https://github.com/deavminet/dnetd.git
Fixed mutex not being unlocked, only the O.G locker could continue resursively lokcing it
This commit is contained in:
parent
723d44aa1f
commit
4394dc9ae2
|
@ -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
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue