Commit 12b48b9
committed
Address review feedback: use bailout flag instead of duplicating cleanup
Use a bool flag in zend_catch and let the existing out: cleanup path
handle resource freeing, then conditionally call zend_bailout() after.
Also fix test to use short array syntax and remove stray blank line.1 parent 4afdcf5 commit 12b48b9
2 files changed
Lines changed: 12 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
982 | 982 | | |
983 | 983 | | |
984 | 984 | | |
| 985 | + | |
985 | 986 | | |
986 | | - | |
987 | 987 | | |
988 | 988 | | |
989 | 989 | | |
| |||
1191 | 1191 | | |
1192 | 1192 | | |
1193 | 1193 | | |
1194 | | - | |
1195 | | - | |
1196 | | - | |
1197 | | - | |
1198 | | - | |
1199 | | - | |
1200 | | - | |
1201 | | - | |
1202 | | - | |
1203 | | - | |
1204 | | - | |
1205 | | - | |
1206 | | - | |
| 1194 | + | |
1207 | 1195 | | |
1208 | 1196 | | |
1209 | 1197 | | |
| |||
1219 | 1207 | | |
1220 | 1208 | | |
1221 | 1209 | | |
| 1210 | + | |
| 1211 | + | |
| 1212 | + | |
1222 | 1213 | | |
1223 | 1214 | | |
1224 | 1215 | | |
| |||
1258 | 1249 | | |
1259 | 1250 | | |
1260 | 1251 | | |
| 1252 | + | |
1261 | 1253 | | |
1262 | 1254 | | |
1263 | 1255 | | |
| |||
1766 | 1758 | | |
1767 | 1759 | | |
1768 | 1760 | | |
1769 | | - | |
1770 | | - | |
1771 | | - | |
1772 | | - | |
1773 | | - | |
1774 | | - | |
1775 | | - | |
| 1761 | + | |
1776 | 1762 | | |
1777 | 1763 | | |
1778 | 1764 | | |
| |||
1782 | 1768 | | |
1783 | 1769 | | |
1784 | 1770 | | |
| 1771 | + | |
| 1772 | + | |
| 1773 | + | |
1785 | 1774 | | |
1786 | 1775 | | |
1787 | 1776 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
0 commit comments