Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
fix: disable recyclable tree sitter objects
Browse files Browse the repository at this point in the history
  • Loading branch information
itsaky committed Nov 1, 2023
1 parent cd8d9aa commit e3c0ca9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/src/main/java/com/itsaky/androidide/app/IDEApplication.kt
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ import com.itsaky.androidide.stats.StatUploadWorker
import com.itsaky.androidide.syntax.colorschemes.SchemeAndroidIDE
import com.itsaky.androidide.tasks.executeAsync
import com.itsaky.androidide.treesitter.TreeSitter
import com.itsaky.androidide.treesitter.api.TreeSitterObjectFactory
import com.itsaky.androidide.treesitter.util.TSObjectFactoryProvider
import com.itsaky.androidide.utils.ILogger
import com.itsaky.androidide.utils.RecyclableObjectPool
import com.itsaky.androidide.utils.VMUtils
Expand Down Expand Up @@ -117,8 +115,6 @@ class IDEApplication : BaseApplication() {
EditorColorScheme.setDefault(SchemeAndroidIDE.newInstance(null))

executeAsync { IDEColorSchemeProvider.init() }

TSObjectFactoryProvider.setFactory(TreeSitterObjectFactory())
}

private fun handleCrash(thread: Thread, th: Throwable) {
Expand Down

0 comments on commit e3c0ca9

Please sign in to comment.