Skip to content

Commit e1b4824

Browse files
committed
Fix schema services dispose handling.
1 parent c248458 commit e1b4824

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
@@ -471,7 +471,7 @@ public RegisteredExecutor(
471471

472472
public void Dispose()
473473
{
474-
if (_disposed)
474+
if (!_disposed)
475475
{
476476
if (Services is IDisposable d)
477477
{

0 commit comments

Comments
 (0)