()
| 236 | } |
| 237 | |
| 238 | static init() { |
| 239 | const f6Registry = getSharedResource<F6Registry>("F6Registry", {}); |
| 240 | |
| 241 | if (!f6Registry.instance) { |
| 242 | f6Registry.instance = new F6Navigation(); |
| 243 | } else if (shouldUpdate(f6Registry.instance?._ui5RuntimeIndex)) { |
| 244 | f6Registry.instance?.destroy(); |
| 245 | f6Registry.instance = new F6Navigation(); |
| 246 | } |
| 247 | } |
| 248 | |
| 249 | static destroy() { |
| 250 | const f6Registry = getSharedResource<F6Registry>("F6Registry", {}); |
no test coverage detected