Skip to content

Commit

Permalink
Fix postload init.
Browse files Browse the repository at this point in the history
  • Loading branch information
olonho committed Nov 19, 2020
1 parent 9344171 commit cad5b3d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions skiko/src/jvmMain/kotlin/org/jetbrains/skiko/Library.kt
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@ object Library {
}

miscSystemInit()

try {
// Init code executed after library was loaded.
org.jetbrains.skija.impl.Library._nAfterLoad()
} catch (t: Throwable) {
t.printStackTrace()
}
loaded = true
}

Expand Down

0 comments on commit cad5b3d

Please sign in to comment.