We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be779c7 commit e98f002Copy full SHA for e98f002
src/WebJobs.Script/Host/ScriptHostManager.cs
@@ -174,6 +174,9 @@ public bool CanInvoke()
174
_stopEvent
175
});
176
177
+ // Immediately set the state to Default, which causes CanInvoke() to return false.
178
+ State = ScriptHostState.Default;
179
+
180
// Orphan the current host instance. We're stopping it, so it won't listen for any new functions
181
// it will finish any currently executing functions and then clean itself up.
182
// Spin around and create a new host instance.
0 commit comments