Skip to content

Commit

Permalink
correctly disposed of kernel after test execution
Browse files Browse the repository at this point in the history
  • Loading branch information
cartercanedy authored and colombod committed Oct 19, 2023
1 parent 86d0a0f commit d227896
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Microsoft.DotNet.Interactive.Tests/KernelTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
using Microsoft.DotNet.Interactive.Events;
using Microsoft.DotNet.Interactive.Tests.Utility;
using Xunit;
using Microsoft.DotNet.Interactive.App;

#if !NETFRAMEWORK
using Microsoft.DotNet.Interactive.CSharp;
Expand Down Expand Up @@ -171,7 +170,7 @@ public async Task kernelEvents_sequence_completes_when_kernel_is_disposed()
[Fact]
public async Task language_service_command_with_empty_buffer_doesnt_crash()
{
var kernel = new CompositeKernel() { new CSharpKernel() };
using var kernel = new CompositeKernel() { new CSharpKernel() };

var request = new RequestCompletions(
string.Empty,
Expand Down

0 comments on commit d227896

Please sign in to comment.