mirror of
https://github.com/deavminet/dnetd
synced 2024-09-21 09:43:37 +02:00
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 */
|
/* Get the channel names */
|
||||||
string channelList = cast(string)message.data[1..message.data.length];
|
string channelList = cast(string)message.data[1..message.data.length];
|
||||||
string[] channels = split(channelList, ",");
|
string[] channels = split(channelList, ",");
|
||||||
|
import std.stdio;
|
||||||
|
writeln("channelList length"~to!(string)(channelList.length));
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Loop through each channel, check if it
|
* Loop through each channel, check if it
|
||||||
|
@ -16,6 +16,7 @@ import dnetd.dconnection;
|
|||||||
import dnetd.dchannel;
|
import dnetd.dchannel;
|
||||||
import std.string : cmp;
|
import std.string : cmp;
|
||||||
import core.sync.mutex : Mutex;
|
import core.sync.mutex : Mutex;
|
||||||
|
import std.stdio;
|
||||||
|
|
||||||
public class DServer : Thread
|
public class DServer : Thread
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user