Commit 2eb916e2 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

vlc_restorecancel: add an assertion

parent e3e57779
......@@ -880,6 +880,8 @@ void vlc_restorecancel (int state)
if (nfo == NULL)
return; /* Main thread - cannot be cancelled anyway */
assert (nfo->killable);
nfo->killable = state != 0;
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment