diff options
Diffstat (limited to 'src/framework.js')
-rw-r--r-- | src/framework.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/framework.js b/src/framework.js index 0f9e70d0..6e2bbe81 100644 --- a/src/framework.js +++ b/src/framework.js @@ -192,8 +192,9 @@ Substrate.prototype = { if (!hadProcessing) { if (DEBUG) print("Solving complete: no remaining items"); finalComment(); - this.results.forEach(function(output) { - delete output.__uid__; // Might recycle these + this.results.forEach(function(result) { + delete result.__uid__; // Might recycle these + if (that.onResult) that.onResult(result); }); ret = this.results; break; |