Fix crash when pinging a surface with an invalid resource.
Check the surface hasn't been deleted before initiating the ping so that an invalid resource isn't dereferenced when printing a warning after the operation inevitably fails. Change-Id: I18c82de280d5a7a5339e3179c2bba49800626bb6 Reviewed-by:Johan Helsing <johan.helsing@theqtcompany.com> Reviewed-by:
Giulio Camuffo <giulio.camuffo@kdab.com> Reviewed-by:
Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
Showing
Please register or sign in to comment