mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-13 21:21:03 +00:00
Update ServiceMain.cs
This commit is contained in:
parent
8bd2382973
commit
a7bc9fa21a
|
@ -181,10 +181,7 @@ namespace WelsonJS.Service
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Log(DispatchServiceEvent("stop"));
|
Log(DispatchServiceEvent("stop"));
|
||||||
if (scriptControl != null)
|
scriptControl?.Reset();
|
||||||
{
|
|
||||||
scriptControl.Reset();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user