Hi, I migrated my app to Koin and K2 a while back....
# multiplatform
t
Hi, I migrated my app to Koin and K2 a while back. I'm see these errors consistently but I'm unable to figure out what the root cause is. I know it's a memory issue but that's about it
Copy code
EXC_BAD_ACCESS
Exception 1, Code 1, Subcode 16 >
KERN_INVALID_ADDRESS at 0x10.
Two common culprits are • MutableStateFlow for some reason
Copy code
private val _authState = MutableStateFlow<AuthState>(UnAuthenticated)
• GraphQL calls with Apollo wrapper
Copy code
suspend fun <Data : Query.Data> query(
        query: Query<Data>,
        fetchPolicy: FetchPolicy = FetchPolicy.NetworkFirst,
        retryStrategy: RetryStrategy = RetryStrategy.Retry()
    ): ApolloResponse<Data>