Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Commit

Permalink
feat: Catch Error OOM.
Browse files Browse the repository at this point in the history
  • Loading branch information
errnull committed Sep 10, 2019
1 parent 9b20272 commit 8070ec6
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ class SVGAVideoEntity {
resetImages(obj)
} catch (e: Exception) {
e.printStackTrace()
} catch (e: OutOfMemoryError) {
e.printStackTrace()
}
resetSprites(obj)
}
Expand All @@ -77,6 +79,8 @@ class SVGAVideoEntity {
resetImages(obj)
} catch (e: Exception) {
e.printStackTrace()
} catch (e: OutOfMemoryError) {
e.printStackTrace()
}
resetSprites(obj)
}
Expand Down

0 comments on commit 8070ec6

Please sign in to comment.