MCPcopy Create free account
hub / github.com/InverseUI/InverseUI-Recorder / stopRecording

Function stopRecording

modules/recording.js:446–459  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

444 * Stop recording user actions by removing event listeners
445 */
446export function stopRecording() {
447 if (!isRecordingActive) return;
448
449 console.log('InverseUI: Stopping action recording');
450 isRecordingActive = false;
451
452 // Remove all event listeners
453 eventListeners.forEach(({ element, event, listener, capture }) => {
454 element.removeEventListener(event, listener, capture);
455 });
456
457 // Clear the listeners array
458 eventListeners = [];
459}
460
461/**
462 * Complete inline recording implementation (all features) - fallback when modules fail to load

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected