Changeset 33989 in vbox for trunk/src/VBox/HostServices
- Timestamp:
- Nov 11, 2010 1:12:58 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_stream.c
r33988 r33989 117 117 118 118 /* Destroy any windows created by the client */ 119 for (pos = 0; pos<CR_MAX_WINDOWS && client->windowList[pos]; pos++) 120 { 121 cr_server.dispatch.WindowDestroy(client->windowList[pos]); 119 for (pos = 0; pos<CR_MAX_WINDOWS; pos++) 120 { 121 if (client->windowList[pos]) 122 { 123 cr_server.dispatch.WindowDestroy(client->windowList[pos]); 124 } 122 125 } 123 126 124 127 /* Check if we have context(s) made by this client left, could happen if client side code is lazy */ 125 for (pos = 0; pos<CR_MAX_CONTEXTS && client->contextList[pos]; pos++) 126 { 127 cr_server.dispatch.DestroyContext(client->contextList[pos]); 128 for (pos = 0; pos<CR_MAX_CONTEXTS; pos++) 129 { 130 if (client->contextList[pos]) 131 { 132 cr_server.dispatch.DestroyContext(client->contextList[pos]); 133 } 128 134 } 129 135
Note:
See TracChangeset
for help on using the changeset viewer.