ChakraCore.NET
ChakraCore.NET copied to clipboard
TerminateRunningScript with the Hosting API?
I can't seem to find a way to set up the runtime with the AllowScriptInterrupt attribute using the new Hosting API, and it always throws "Cannot disable execution" when calling TerminateRunningScript otherwise. Even worse, I'm on .NET Core which doesn't seem to allow hard-aborting threads. Is there anything I can do to kill running code?
please try the sample project "https://github.com/JohnMasen/ChakraCore.NET/tree/master/source/PauseEngine" .