diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-05-18 15:58:42 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-05-18 15:58:42 -0400 |
| commit | 3ccecd3ca3a1640f15ffae70914a8ad0f5a1cb99 (patch) | |
| tree | 737ee22469a54e14e4f4fa497a3216578b2d0983 /MediaBrowser.Server.Implementations/Session/SessionWebSocketListener.cs | |
| parent | ca5989cb17b324ee481b92ddf3cd1ea47af85cbe (diff) | |
channel fixes
Diffstat (limited to 'MediaBrowser.Server.Implementations/Session/SessionWebSocketListener.cs')
| -rw-r--r-- | MediaBrowser.Server.Implementations/Session/SessionWebSocketListener.cs | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/MediaBrowser.Server.Implementations/Session/SessionWebSocketListener.cs b/MediaBrowser.Server.Implementations/Session/SessionWebSocketListener.cs index 1a042ede6..365845f41 100644 --- a/MediaBrowser.Server.Implementations/Session/SessionWebSocketListener.cs +++ b/MediaBrowser.Server.Implementations/Session/SessionWebSocketListener.cs @@ -35,19 +35,17 @@ namespace MediaBrowser.Server.Implementations.Session /// The _dto service /// </summary> private readonly IJsonSerializer _json; - private readonly IServerApplicationHost _appHost; /// <summary> /// Initializes a new instance of the <see cref="SessionWebSocketListener" /> class. /// </summary> /// <param name="sessionManager">The session manager.</param> /// <param name="logManager">The log manager.</param> - /// <param name="appHost">The application host.</param> - public SessionWebSocketListener(ISessionManager sessionManager, ILogManager logManager, IServerApplicationHost appHost, IJsonSerializer json) + /// <param name="json">The json.</param> + public SessionWebSocketListener(ISessionManager sessionManager, ILogManager logManager, IJsonSerializer json) { _sessionManager = sessionManager; _logger = logManager.GetLogger(GetType().Name); - _appHost = appHost; _json = json; } @@ -138,7 +136,7 @@ namespace MediaBrowser.Server.Implementations.Session if (controller == null) { - controller = new WebSocketController(session, _appHost, _logger, _sessionManager); + controller = new WebSocketController(session, _logger, _sessionManager); } controller.AddWebSocket(message.Connection); |
