From 337fb06535a8a89e11dee1c52b66c4e5398d5cfa Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Thu, 27 Oct 2022 16:02:02 +0200 Subject: [PATCH] Restore Websock.allocateBuffers() after tests This was accidentally removed in 0a6aec3578. --- tests/test.rfb.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test.rfb.js b/tests/test.rfb.js index edb98cb4..432bcba9 100644 --- a/tests/test.rfb.js +++ b/tests/test.rfb.js @@ -115,6 +115,7 @@ describe('Remote Frame Buffer Protocol Client', function () { }); after(function () { + Websock.prototype._allocateBuffers = Websock.prototype._oldAllocateBuffers; delete Websock.prototype.inspect; this.clock.restore(); window.requestAnimationFrame = raf;