Fixed issue with order of construction
This commit is contained in:
parent
c23214b186
commit
5ea1ac2ba5
|
@ -11,11 +11,12 @@ public abstract class ButterflyListener : Thread
|
|||
private JSONValue config;
|
||||
private string domain;
|
||||
|
||||
this(string listenerName, JSONValue config)
|
||||
this(string listenerName, string domain, JSONValue config)
|
||||
{
|
||||
super(&run);
|
||||
this.listenerName = listenerName;
|
||||
this.config = config;
|
||||
this.domain = domain;
|
||||
}
|
||||
|
||||
public abstract void run()
|
||||
|
|
|
@ -10,9 +10,9 @@ public class IPv4Listener : ButterflyListener
|
|||
|
||||
private Socket serverSocket;
|
||||
|
||||
this(string name, JSONValue config)
|
||||
this(string name, string domain, JSONValue config)
|
||||
{
|
||||
super(name, config);
|
||||
super(name, domain, config);
|
||||
|
||||
Address bindAddress;
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue