Skip to content

Commit

Permalink
disable camera delimit when exiting anamnesis
Browse files Browse the repository at this point in the history
Fixes #292
  • Loading branch information
Yuki-Codes committed Apr 21, 2021
1 parent 10ab1ea commit f456b7f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Anamnesis/Services/CameraService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ public override async Task Start()
_ = Task.Run(this.Tick);
}

public override Task Shutdown()
{
this.DelimitCamera = false;
return base.Shutdown();
}

private async Task Tick()
{
while (this.IsAlive)
Expand Down

0 comments on commit f456b7f

Please sign in to comment.