util.promise: Remove debug print and assert
authorMatthew Wild <mwild1@gmail.com>
Thu, 25 Oct 2018 14:16:14 +0100
changeset 9549 c93496785022
parent 9548 9dc7280dd8dc
child 9550 a06419532efb
util.promise: Remove debug print and assert
util/promise.lua
--- 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;