Commit 36fd56e
committed
libobs: Make sure all code paths leave context
Should always call `gs_leave_context` after `gs_enter_context` or it
might cause a lock leave.
This commit makes sure all code paths will call `gs_leave_context` if
it called `gs_enter_context`.1 parent fb4d98b commit 36fd56e
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
645 | 645 | | |
646 | 646 | | |
647 | 647 | | |
648 | | - | |
| 648 | + | |
| 649 | + | |
649 | 650 | | |
650 | | - | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
651 | 654 | | |
| 655 | + | |
652 | 656 | | |
653 | 657 | | |
654 | 658 | | |
| |||
0 commit comments