]> git.proxmox.com Git - mirror_novnc.git/commit
Skip unnecessary render queue object creation
authorSolly Ross <sross@redhat.com>
Tue, 2 Jun 2015 19:32:14 +0000 (15:32 -0400)
committerSolly Ross <sross@redhat.com>
Thu, 6 Aug 2015 18:47:03 +0000 (14:47 -0400)
commitf00193e08f7c55a7b0b55556ef96b10b41dd3bc3
treec31862ccaef56d65013a3749b11b677625bd9853
parentb0b5fc55e1fe5c575855104e9ce6df79329a8db7
Skip unnecessary render queue object creation

This commit skips object creation for the render queue when not
needed.  Instead of pushing an object onto the queue, and then
immediately running the result, you call the function directly.
Then, if the render queue is not empty, an object is created and
pushed onto the queue.  Otherwise, the functionality is just run
directly.
include/display.js
include/rfb.js