-
Notifications
You must be signed in to change notification settings - Fork 1.2k
JsDisableRuntimeExecution
Limin Zhu edited this page Oct 9, 2015
·
1 revision
Suspends script execution and terminates any running scripts in a runtime.
STDAPI_(JsErrorCode)
JsDisableRuntimeExecution(
_In_ JsRuntimeHandle runtime);
- runtime: The runtime to be suspended.
The code JsNoError if the operation succeeded, a failure code otherwise.
Calls to a suspended runtime will fail until JsEnableRuntimeExecution is called. This API does not have to be called on the thread the runtime is active on. Although the runtime will be set into a suspended state, an executing script may not be suspended immediately; a running script will be terminated with an uncatchable exception as soon as possible. Suspending execution in a runtime that is already suspended is a no-op.
- Architecture Overview
- Building ChakraCore
- ChakraCore Code Structure
- Contributor Guidance
- Engineering Notes
- Embedding ChakraCore
- Testing ChakraCore
- Getting ChakraCore binaries
- Label Glossary
- Resources
- Roadmap / Release Notes
Want to contribute to this Wiki? Fork it and send a pull request!