util.promise: Remove line that was supposed to be removed in eb9814372c54
authorMatthew Wild <mwild1@gmail.com>
Fri, 07 Oct 2022 17:45:23 +0100
changeset 12754 c882d2460bb1
parent 12753 eb9814372c54
child 12755 2639e0e1c378
util.promise: Remove line that was supposed to be removed in eb9814372c54
util/promise.lua
--- a/util/promise.lua	Fri Oct 07 17:43:26 2022 +0100
+++ b/util/promise.lua	Fri Oct 07 17:45:23 2022 +0100
@@ -58,7 +58,6 @@
 
 local function new_resolve_functions(p)
 	local function _resolve(v)
-		resolved = true;
 		if is_promise(v) then
 			v:next(new_resolve_functions(p));
 		elseif promise_settle(p, "fulfilled", next_fulfilled, p._pending_on_fulfilled, v) then