Reset log file upon launching MC or a .jar

This commit is contained in:
SerpentSpirale 2021-11-22 13:29:14 +01:00 committed by Boulay Mathias
parent 5b728d051c
commit a99e081f33
2 changed files with 2 additions and 0 deletions

View file

@ -61,6 +61,7 @@ public class BaseMainActivity extends BaseActivity {
setContentView(resId);
try {
Logger.getInstance().reset();
// FIXME: is it safe fot multi thread?
GLOBAL_CLIPBOARD = (ClipboardManager) getSystemService(CLIPBOARD_SERVICE);
touchCharInput = findViewById(R.id.mainTouchCharInput);