[Modify] Replace it
This commit is contained in:
parent
4e1a9e034d
commit
d0f5e08a47
@ -442,9 +442,7 @@ namespace WebSocketSharp.Server
|
||||
throw new ArgumentException (msg, "path");
|
||||
}
|
||||
|
||||
host = new WebSocketServiceHost<TBehavior> (
|
||||
path, () => new TBehavior (), initializer, _log
|
||||
);
|
||||
host = new WebSocketServiceHost<TBehavior> (path, initializer, _log);
|
||||
|
||||
if (!_keepClean)
|
||||
host.KeepClean = false;
|
||||
|
Loading…
Reference in New Issue
Block a user