From: Kirill Moizik <kmoizik@xxxxxxxxxx> --- src/win-usb-dev.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/win-usb-dev.c b/src/win-usb-dev.c index 875ef89..c42273f 100644 --- a/src/win-usb-dev.c +++ b/src/win-usb-dev.c @@ -360,6 +360,9 @@ static void handle_dev_change(GUdevClient *self) GList *llist, *slist; /* long-list and short-list*/ GList *lit, *sit; /* iterators for long-list and short-list */ GUdevDevice *ldev, *sdev; /* devices on long-list and short-list */ + if (priv->redirecting == TRUE) { + return; + } dev_count = g_udev_client_list_devices(self, &now_devs, &err, __FUNCTION__); -- 2.4.3 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel