Changeset

12750:c882d2460bb1

util.promise: Remove line that was supposed to be removed in eb9814372c54
author Matthew Wild <mwild1@gmail.com>
date Fri, 07 Oct 2022 17:45:23 +0100
parents 12749:eb9814372c54
children 12751:2639e0e1c378
files util/promise.lua
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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