vtest: destroy renderer in no-fork mode

Make sure the next renderer is a cleaned up one.

Reviewed-by: Jakob Bornecrantz <jakob@collabora.com>
Signed-off-by: Jakob Bornecrantz <jakob@collabora.com>
macos/master
Dave Airlie 6 years ago committed by Jakob Bornecrantz
parent 8498354597
commit 8bd7e0859d
  1. 1
      vtest/vtest_server.c

@ -219,6 +219,7 @@ start:
} }
} else { } else {
run_renderer(in_fd, out_fd); run_renderer(in_fd, out_fd);
vtest_destroy_renderer();
if (loop) if (loop)
goto restart; goto restart;
} }

Loading…
Cancel
Save