(ctx *Context, constructor C.JSValue)
| 40 | } |
| 41 | |
| 42 | func deleteConstructorClassID(ctx *Context, constructor C.JSValue) { |
| 43 | if ctx == nil || ctx.runtime == nil { |
| 44 | return |
| 45 | } |
| 46 | ctx.runtime.constructorRegistry.Delete(jsValueToKey(constructor)) |
| 47 | } |
| 48 | |
| 49 | // ============================================================================= |
| 50 | // CLASS FINALIZER INTERFACE |