howl.ui.CompletionPopup

(resource management)

editor = Editor Buffer!

popups are collected as they should

o = CompletionPopup editor
list = setmetatable {o}, __mode: 'v'
o\destroy!
o = nil
collectgarbage!
assert.is_nil list[1]