svg backends auto-finish, so no need to call them

dev
Andy Meneely 2023-01-24 13:42:24 -05:00
parent 4331625272
commit ed87b47a1e
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ module Squib
def finish! def finish!
begin begin
@cairo_surface.finish @cairo_surface.finish unless @backend.to_sym == :svg
rescue Cairo::SurfaceFinishedError rescue Cairo::SurfaceFinishedError
# do nothin - if it's already finished that's fine # do nothin - if it's already finished that's fine
end end