* Detach the object from the current scope * so it won't be released via auto-release during endscope. * * User needs to either explicitly call obj.dispose(), or * attachToCurrentScope to re-attach to the current scope. * * This function can be used to return values to the
(obj: T)
| 1052 | * @param obj The object. |
| 1053 | */ |
| 1054 | detachFromCurrentScope<T extends Disposable>(obj: T): T { |
| 1055 | return this.ctx.detachFromCurrentScope(obj); |
| 1056 | } |
| 1057 | |
| 1058 | /** |
| 1059 | * Get system-wide library module in the wasm. |
no outgoing calls
no test coverage detected