Skip to content

Commit

Permalink
fix(payload size) added error call back to clear threads
Browse files Browse the repository at this point in the history
  • Loading branch information
SmartbearYing authored and YYChen01988 committed Nov 27, 2023
2 parents 50d9127 + 5952cad commit 7c42584
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ class EventTooBigScenario(
breadcrumbCount = args[2].toInt()
config.setTelemetry(config.getTelemetry() + Telemetry.USAGE)
}
config.addOnError(OnErrorCallback { true })
config.addOnError { event ->
event.threads.clear()
true
}
}

external fun nativeCrash(value: Int): Int
Expand Down

0 comments on commit 7c42584

Please sign in to comment.