Skip to content

Commit

Permalink
Merge pull request #715 from rymorale/fix-scope-cancellation
Browse files Browse the repository at this point in the history
remove cancellation of coroutine children
  • Loading branch information
rymorale authored Sep 27, 2024
2 parents 1f12c3d + 2f148fc commit a0687ff
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import com.adobe.marketing.mobile.AdobeCallback
import com.adobe.marketing.mobile.services.Log
import com.adobe.marketing.mobile.services.ServiceConstants
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.cancelChildren
import kotlinx.coroutines.launch
import java.io.UnsupportedEncodingException
import java.lang.ref.WeakReference
Expand Down Expand Up @@ -119,7 +118,6 @@ internal class DefaultInAppMessageEventHandler internal constructor(
@MainThread
internal fun onNewWebView(webView: WebView?) {
Log.debug(ServiceConstants.LOG_TAG, LOG_SOURCE, "Internal web view was reset.")
mainScope.coroutineContext.cancelChildren()

webView?.let {
this@DefaultInAppMessageEventHandler.webView = WeakReference(it)
Expand Down

0 comments on commit a0687ff

Please sign in to comment.