mirror of
https://github.com/github/codeql.git
synced 2026-07-12 23:15:40 +02:00
11 lines
178 B
JavaScript
11 lines
178 B
JavaScript
var resource;
|
|
try {
|
|
resource = acquire();
|
|
if (someCond())
|
|
throw new Error();
|
|
performAction(resource);
|
|
} finally {
|
|
resource.release();
|
|
if (someOtherCond())
|
|
return true;
|
|
} |