mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[wsm] IJPL-251581: Do not create exception second time
(cherry picked from commit 56344d5e9167b0f2f84148ea22f70255df0daad6) IJ-CR-216025 GitOrigin-RevId: d3d4958ac8e40496d8e2c5d3daa2cf176d423074
This commit is contained in:
committed by
intellij-monorepo-bot
parent
071663c940
commit
cd6c823e25
+1
-1
@@ -368,7 +368,7 @@ open class WorkspaceModelImpl : WorkspaceModelInternal {
|
||||
if (stackTrace.size < 6) {
|
||||
return@addMeasuredTime
|
||||
}
|
||||
val stackStraceIterator = RuntimeException().stackTrace.iterator()
|
||||
val stackStraceIterator = stackTrace.iterator()
|
||||
// Skip six methods of the current update
|
||||
repeat(6) { stackStraceIterator.next() }
|
||||
while (stackStraceIterator.hasNext()) {
|
||||
|
||||
Reference in New Issue
Block a user