[gnome-continuous] testbase: Always do a final screenshot, even if one is already pending



commit ff2a6b506df2d16ff5c2c36024223c5851a2d88e
Author: Colin Walters <walters verbum org>
Date:   Wed Sep 25 15:55:06 2013 -0400

    testbase: Always do a final screenshot, even if one is already pending
    
    Otherwise we might never exit.

 src/js/tasks/testbase.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/js/tasks/testbase.js b/src/js/tasks/testbase.js
index 398208b..8fba627 100644
--- a/src/js/tasks/testbase.js
+++ b/src/js/tasks/testbase.js
@@ -245,7 +245,7 @@ const TestOneDisk = new Lang.Class({
     },
 
     _screenshot: function(isFinal) {
-        if (this._requestingScreenshot)
+        if (this._requestingScreenshot && !isFinal)
             return;
         this._requestingScreenshot = true;
         let filename;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]