summaryrefslogtreecommitdiff
path: root/server/red-worker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'server/red-worker.cpp')
-rw-r--r--server/red-worker.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/server/red-worker.cpp b/server/red-worker.cpp
index 912b7d55..3880531b 100644
--- a/server/red-worker.cpp
+++ b/server/red-worker.cpp
@@ -364,8 +364,6 @@ handle_dev_del_memslot(RedWorker* worker, RedWorkerMessageDelMemslot* msg)
static void
handle_dev_destroy_surface_wait(RedWorker* worker, RedWorkerMessageDestroySurfaceWait* msg)
{
- spice_return_if_fail(msg->surface_id == 0);
-
flush_all_qxl_commands(worker);
display_channel_destroy_surface_wait(worker->display_channel, msg->surface_id);
}