core/renderbackend: check for the renderloop being deleted
Output frames can outlive the output they were created for, so the render loop might also be deleted by the time the output frame is destroyed or presented
Edited by Xaver Hugl
Output frames can outlive the output they were created for, so the render loop might also be deleted by the time the output frame is destroyed or presented