File tree 1 file changed +0
-9
lines changed
packages/quickjs-emscripten-core/src
1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,6 @@ export class QuickJSRuntime extends UsingDisposable implements Disposable {
79
79
* associated with the runtime.
80
80
*
81
81
* If this runtime was created stand-alone, this may or may not contain a context.
82
- * A context here may be allocated if one is needed by the runtime, eg for {@link computeMemoryUsage}.
83
82
*/
84
83
public context : QuickJSContext | undefined
85
84
@@ -416,14 +415,6 @@ export class QuickJSRuntime extends UsingDisposable implements Disposable {
416
415
return `${ this . constructor . name } { rt: ${ this . rt . value } }`
417
416
}
418
417
419
- private getSystemContext ( ) {
420
- if ( ! this . context ) {
421
- // We own this context and should dispose of it.
422
- this . context = this . scope . manage ( this . newContext ( ) )
423
- }
424
- return this . context
425
- }
426
-
427
418
private cToHostCallbacks : RuntimeCallbacks = {
428
419
shouldInterrupt : ( rt ) => {
429
420
if ( rt !== this . rt . value ) {
You can’t perform that action at this time.
0 commit comments