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