mike-jumper commented on code in PR #563:
URL: https://github.com/apache/guacamole-server/pull/563#discussion_r1828444483


##########
src/protocols/rdp/gdi.c:
##########
@@ -99,7 +99,10 @@ BOOL guac_rdp_gdi_end_paint(rdpContext* context) {
 
     guac_display_layer* default_layer = 
guac_display_default_layer(rdp_client->display);
     guac_display_layer_raw_context* current_context = 
rdp_client->current_context;
-    GUAC_ASSERT(current_context != NULL);
+
+    /* Handle the case where EndPaint was called without BeginPaint */

Review Comment:
   We should document that case here such that a developer reading the code 
will understand why we're doing this.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@guacamole.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to