-
-
Notifications
You must be signed in to change notification settings - Fork 366
Description
Note
The pull request "ref: Move ThreadInspector initialization to Swift" was created by @noahsmartin but did not reference an issue. Therefore this issue was created for better visibility in external tools like Linear.
This moves SentryThreadInspector to a class so that it an be initialized from a Swift file. This is a prerequisite for #6274 because the FileIOTracker will also need to be initialized in Swift (and is dependent on SentryThreadInspector)
These need to be moved to the Swift file instead of SentryDependencies.m because in SPM you cannot have Swift code access a Swift type that is forward declared in an objc header. The FileIOTracker has this kind of usage - so it needs to be made accessible from somewhere other than the SentryDependencies.h header.
#skip-changelog