Skip to content

Commit 48309bf

Browse files
committed
Fix schema services dispose handling.
1 parent 41922e0 commit 48309bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/HotChocolate/Core/src/Execution/RequestExecutorResolver.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ private sealed class RegisteredExecutor(
545545

546546
public void Dispose()
547547
{
548-
if (_disposed)
548+
if (!_disposed)
549549
{
550550
if (Services is IDisposable d)
551551
{

0 commit comments

Comments
 (0)