Skip to content

Commit 1c2206c

Browse files
committed
fix: Implement N-depth charm reference detection with robust error handling
- Added recursive traversal of sourceCell chains to find resultRefs - Implemented safe traversal to avoid triggering Copy trap errors - Fixed cycle detection by tracking object references directly - Added improved error handling to gracefully handle issues without crashing - Added safeguards to prevent array access issues and property access errors - Limited the maximum number of references to avoid UI overload - Thoroughly tested with nested reference chains Fixes #758
1 parent 4676b7b commit 1c2206c

File tree

2 files changed

+440
-108
lines changed

2 files changed

+440
-108
lines changed

0 commit comments

Comments
 (0)