Skip to content
  • ivan tkachenko's avatar
    effects/private: Fix crash when shutting down desktop grid and overview · 30de75a9
    ivan tkachenko authored
    Because of const/non-const issues, iterator got invalidated in the loop,
    which led to a crash.
    
    Cases that trigger it: interaction with a thumbnail while the effect is
    returning to initial state and shuts down. For example, slightly
    dragging and releasing a thumbnail such that both TapHandler & DragHandler
    would react and play each their own transition (yes, it's another bug);
    or by pressing Escape key while dragging.
    
    (cherry picked from commit d3a5a72a)
    30de75a9