Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
QuasselDroid-ng
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Janne Mareike Koschinski
QuasselDroid-ng
Commits
996fb33d
Commit
996fb33d
authored
7 years ago
by
Janne Mareike Koschinski
Browse files
Options
Downloads
Patches
Plain Diff
Fix memory leak
parent
f0eb83fc
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/src/main/java/de/kuschku/quasseldroid/ui/clientsettings/crash/CrashSettingsFragment.kt
+4
-5
4 additions, 5 deletions
...seldroid/ui/clientsettings/crash/CrashSettingsFragment.kt
with
4 additions
and
5 deletions
app/src/main/java/de/kuschku/quasseldroid/ui/clientsettings/crash/CrashSettingsFragment.kt
+
4
−
5
View file @
996fb33d
package
de.kuschku.quasseldroid.ui.clientsettings.crash
import
android.content.Context
import
android.os.Bundle
import
android.os.Handler
import
android.os.HandlerThread
...
...
@@ -30,15 +29,15 @@ class CrashSettingsFragment : DaggerFragment() {
private
var
crashDir
:
File
?
=
null
private
var
adapter
:
CrashAdapter
?
=
null
override
fun
on
Attach
(
context
:
Context
?)
{
super
.
on
Attach
(
context
)
override
fun
on
Create
(
savedInstanceState
:
Bundle
?)
{
super
.
on
Create
(
savedInstanceState
)
handlerThread
=
HandlerThread
(
"CrashSettings"
)
handlerThread
.
start
()
handler
=
Handler
(
handlerThread
.
looper
)
}
override
fun
onDe
tach
()
{
super
.
onDe
tach
()
override
fun
onDe
stroy
()
{
super
.
onDe
stroy
()
handlerThread
.
quit
()
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment