Handle the releasing of external images in api.delete_image(). …
Release the external images when a new frame is ready. Merge ResultMsg::UpdateTextureData and NewFrame::NewFrame message into one message.