Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e72e89897081efd608c057fe8c33f468a10bda4b
      
https://github.com/WebKit/WebKit/commit/e72e89897081efd608c057fe8c33f468a10bda4b
  Author: Aleksei Marchenko <alek...@apple.com>
  Date:   2025-04-24 (Thu, 24 Apr 2025)

  Changed paths:
    M Source/WebKit/WebProcess/Model/ModelProcessModelPlayerManager.cpp

  Log Message:
  -----------
  Keep a copy of affected players while notifying abrupt rendering stop.
https://bugs.webkit.org/show_bug.cgi?id=291973
rdar://149869888

Reviewed by Ada Chan.

Calling renderingAbruptlyStopped() may lead to a ModelPlayer creation
when model's auto-reload logic kicks in. Consecutively that leads to
m_players being changed while iterating over the HashMap.
Having a copy of currently affected players helps to mitigate that.

* Source/WebKit/WebProcess/Model/ModelProcessModelPlayerManager.cpp:
(WebKit::ModelProcessModelPlayerManager::modelProcessConnectionDidClose):

Canonical link: https://commits.webkit.org/294071@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to