Skip to content

Commit

Permalink
Update Neos.ContentRepository.Core/Classes/Feature/Common/ContentStre…
Browse files Browse the repository at this point in the history
…amIdOverride.php

Co-authored-by: Bastian Waidelich <[email protected]>
  • Loading branch information
nezaniel and bwaidelich authored Mar 15, 2024
1 parent eefd00a commit 33524f4
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,8 @@ public static function withContentStreamIdToUse(ContentStreamId $contentStreamId
self::$contentStreamIdToUse = $contentStreamIdToUse;
try {
$fn();
} catch (\Throwable $th) {
} finally {
self::$contentStreamIdToUse = null;
throw $th;
}
self::$contentStreamIdToUse = null;
}
Expand Down

0 comments on commit 33524f4

Please sign in to comment.