Minor optimization to the frame callbacks handling
When destroyed, do not lookup the frame callback in the surface's
callback list to remove it out of there if we know the list shall
be emptied just a moment later anyways.
Change-Id: Id1232e1659bf4e2cebbf054cdfa29928863ca005
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
| commit | d1b0fae9973d735dedc26ebadb572d5ee05576ad |
| parent | 1181ce73da72c3a0e1db2fd06456820a21d9ec8a |
| author | Konstantin Ritt <ritt.ks@gmail.com> |
| committer | Konstantin Ritt <ritt.ks@gmail.com> |
| commit time | Thu, 27 Nov 2025 22:22:17 +0300 |