defaults.lua: remove mp.use_suspend dead code

This does nothing since f30c5d09f4 (10 years ago).
This commit is contained in:
Guido Cella authored and sfan5 committed 2026-04-18 23:28:57 +02:00
1 parent 25e9a0c740
commit 06f4ce75aa
1 file changed
-10
-10
View File
@@ -515,18 +515,8 @@ local function call_event_handlers(e)
end
end
mp.use_suspend = false
local suspend_warned = false
function mp.dispatch_events(allow_wait)
local more_events = true
if mp.use_suspend then
if not suspend_warned then
mp.msg.error("mp.use_suspend is now ignored.")
suspend_warned = true
end
end
while mp.keep_running do
local wait = 0
if not more_events then