Changeset

9546:c93496785022

util.promise: Remove debug print and assert
author Matthew Wild <mwild1@gmail.com>
date Thu, 25 Oct 2018 14:16:14 +0100 (2018-10-25)
parents 9545:9dc7280dd8dc
children 9547:a06419532efb
files util/promise.lua
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/util/promise.lua	Wed Oct 24 17:18:34 2018 +0200
+++ b/util/promise.lua	Thu Oct 25 14:16:14 2018 +0100
@@ -51,7 +51,6 @@
 		if resolved then return; end
 		resolved = true;
 		if is_promise(e) then
-			print ("WOAH") assert(false)
 			e:next(new_resolve_functions(p));
 		elseif promise_settle(p, "rejected", next_rejected, p._pending_on_rejected, e) then
 			p.reason = e;