()
| 429 | }, |
| 430 | |
| 431 | unmount() { |
| 432 | if (isMounted) { |
| 433 | callWithAsyncErrorHandling( |
| 434 | pluginCleanupFns, |
| 435 | app._instance, |
| 436 | ErrorCodes.APP_UNMOUNT_CLEANUP, |
| 437 | ) |
| 438 | render(null, app._container) |
| 439 | if (__DEV__ || __FEATURE_PROD_DEVTOOLS__) { |
| 440 | app._instance = null |
| 441 | devtoolsUnmountApp(app) |
| 442 | } |
| 443 | delete app._container.__vue_app__ |
| 444 | } else if (__DEV__) { |
| 445 | warn(`Cannot unmount an app that is not mounted.`) |
| 446 | } |
| 447 | }, |
| 448 | |
| 449 | provide(key, value) { |
| 450 | if (__DEV__ && (key as string | symbol) in context.provides) { |
nothing calls this directly
no test coverage detected