#70174·salt

[Bug]: runners throw a warning at the end

Author: twangboyCreated Aug 28, 2026Updated Oct 1, 2026
Labelsbug

What happened?

salt-run commands are throwing a warning at the end of every return.

(venv_3008.x) shane@ubuntu-2404:~/src/salt$ salt-run manage.versions
Master:
    3008.2+393.g4ae4bf944f
Minion offline:
    ----------
    win20:
        False
Up to date:
    ----------
    local_minion:
        3008.2+393.g4ae4bf944f
[WARNING ] unclosed Runner <salt.runner.Runner object at 0x769754d77ad0>; call ``destroy()`` or use as a context manager
unclosed MasterMinion <salt.minion.MasterMinion object at 0x769753b04c10>; call ``destroy()`` or use as a context manager

Type of salt install

Official deb

Major version

3008.x

What supported OS are you seeing the problem on? Can select multiple. (If bug appears on an unsupported OS, please open a GitHub Discussion instead)

ubuntu-24.04

salt --versions-report output

bash
head of 3008.x branch (3008.2+393.g4ae4bf944f)