MCPcopy Create free account
hub / github.com/GCWing/BitFun / destroyInfrastructure

Function destroyInfrastructure

src/web-ui/src/infrastructure/index.ts:48–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46}
47
48export async function destroyInfrastructure(): Promise<void> {
49 log.info('Shutting down infrastructure systems');
50
51 // Notify shutdown
52 globalEventBus.emit('infrastructure:shutdown');
53
54 // Destroy event bus last
55 globalEventBus.destroy();
56}
57
58// Backward-compatible aliases
59export const initializeCore = initializeInfrastructure;

Callers

nothing calls this directly

Calls 3

emitMethod · 0.65
infoMethod · 0.45
destroyMethod · 0.45

Tested by

no test coverage detected