defaults.lua: remove mp.use_suspend dead code
This does nothing since f30c5d09f4 (10 years ago).
This commit is contained in:
1 parent
25e9a0c740
commit
06f4ce75aa
1 file changed
-10
@@ -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
|
||||
|
||||
Reference in new issue
Block a user