The Free Software Media System - Server Backend & API
Move messageId out of outer loop
Bond_009b69b19ddce63
diff --git a/Emby.Server.Implementations/Session/SessionManager.cs b/Emby.Server.Implementations/Session/SessionManager.csindex 6b9573b1dd..53ed5fc223 100644--- a/Emby.Server.Implementations/Session/SessionManager.cs+++ b/Emby.Server.Implementations/Session/SessionManager.cs@@ -1041,11 +1041,10 @@ namespace Emby.Server.Implementations.Session{IEnumerable<Task> GetTasks(){+ var messageId = Guid.NewGuid().ToString("N");foreach (var session in sessions){var controllers = session.SessionControllers;- var messageId = Guid.NewGuid().ToString("N");-foreach (var controller in controllers){yield return controller.SendMessage(name, messageId, data, controllers, cancellationToken);