devices-test: Fix typo 'destroyes' in a comment

dev
Bryce Harrington 9 years ago
parent 3a1580fb47
commit 33598ffe8d
  1. 17
      tests/devices-test.c

@ -249,17 +249,18 @@ TEST(get_device_after_destroy)
struct wl_touch *wl_touch; struct wl_touch *wl_touch;
/* There's a race: /* There's a race:
* 1) compositor destroyes device * 1) compositor destroys device
* 2) client asks for the device, because it has not got * 2) client asks for the device, because it has not received
* new capabilities yet * the new capabilities yet
* 3) compositor gets request with new_id for destroyed device * 3) compositor gets the request with a new_id for the
* destroyed device
* 4) client uses the new_id * 4) client uses the new_id
* 5) client gets new capabilities, destroying the objects * 5) client gets new capabilities, destroying the objects
* *
* If compositor just bail out in step 3) and does not create * If the compositor just bails out in step 3) and does not
* resource, then client gets error in step 4) - even though * create the resource, then the client gets an error in step 4)
* it followed the protocol (it just didn't know about new * - even though it followed the protocol (it just didn't know
* capabilities). * about new capabilities).
* *
* This test simulates this situation * This test simulates this situation
*/ */

Loading…
Cancel
Save