retain cycle causes a memory leak when releasing CDVViewController in a hybrid app
What is expected to happen?
CDVViewController and related objects should be released from memory
What does actually happen?
memory not released
Information
CDVViewController holds a strong reference to CDVWebViewEngine
CDVWebViewEngine holds a strong reference to CDVURLSchemeHandler
CDVURLSchemeHandler holds a strong reference to CDVViewController
Version information
cordova: cordova-ios 6.1.1 via cocoapods
Checklist
[x ] I searched for existing GitHub issues
[ x] I updated all Cordova tooling to most recent version
[x ] I included all the necessary information above
Bug Report
Problem
retain cycle causes a memory leak when releasing CDVViewController in a hybrid app
What is expected to happen?
CDVViewController and related objects should be released from memory
What does actually happen?
memory not released
Information
CDVViewController holds a strong reference to CDVWebViewEngine CDVWebViewEngine holds a strong reference to CDVURLSchemeHandler CDVURLSchemeHandler holds a strong reference to CDVViewController
Version information
cordova: cordova-ios 6.1.1 via cocoapods
Checklist