diff --git a/app/internal/gpu/gpu.go b/app/internal/gpu/gpu.go index 3e208a68..54c4c12c 100644 --- a/app/internal/gpu/gpu.go +++ b/app/internal/gpu/gpu.go @@ -139,7 +139,7 @@ func decodeImageOp(data []byte, refs []interface{}) imageOpData { } handle := refs[1] if handle == nil { - panic("nil handle") + return imageOpData{} } return imageOpData{ src: refs[0].(*image.RGBA),