diff --git a/lua/plenary/async/control.lua b/lua/plenary/async/control.lua index 16f963ec..257ba71a 100644 --- a/lua/plenary/async/control.lua +++ b/lua/plenary/async/control.lua @@ -209,7 +209,7 @@ M.channel.mpsc = function() end local val = deque:popright() deque:clear() - return unpack(val) + return unpack(val or {}) end return Sender, Receiver