Skip to content

Commit 5f1e371

Browse files
committed
deinit audio device at last
1 parent c498a84 commit 5f1e371

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lualib/main.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,9 @@ local function start(config)
126126
send_log_ud = logger_ud,
127127
mqueue = appmsg_queue,
128128
cleanup = function()
129-
api.deinit()
130129
while not send_message "cleanup" do end
131130
bootstrap.wait(ctx)
131+
api.deinit()
132132
mqueue.delete(appmsg_queue)
133133
appmsg_queue = nil
134134
end,

0 commit comments

Comments
 (0)