mirror of
https://github.com/github/codeql.git
synced 2026-01-22 10:52:58 +01: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;
|
|
} |