NativeScript / ios-jsc

NativeScript for iOS using JavaScriptCore
http://docs.nativescript.org/runtimes/ios
Apache License 2.0
298 stars 59 forks source link

fix(runtime): Private root classes cause infinite loop #1270

Closed mbektchiev closed 4 years ago

mbektchiev commented 4 years ago

Classes that don't inherit from NSObject (or any other class with metadata) cause an infinite loop in GlobalObject::constructorFor. Treat such classes as inheriting from NSObject as a best effort to support them.

refs support ticket 1464280

PR Checklist