Solution
This issue is due to a specific reference leaking from the project, which is the variable "m_cVIServerRefs," which is responsible for counting references to VI (Virtual Instrument) server objects within the NI-CompactRIO driver project.
This bug has been officially fixed in the NI CompactRIO 2025 Q4 release. Users experiencing this issue should upgrade the NI CompactRIO driver to the latest version to solve the issue.