Skip to content

Commit

Permalink
Revert "Auto-close temp file views after a minute"
Browse files Browse the repository at this point in the history
This reverts commit cff407e.
  • Loading branch information
eerohele committed Jan 26, 2024
1 parent 7e1f70f commit 95ab18d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,6 @@ class TemporaryFileEventListener(ViewEventListener):
def is_applicable(_, settings):
return settings.has("tutkain_temp_file")

def on_deactivated(self):
sublime.set_timeout_async(lambda: self.view.close(), 60000)

def on_load_async(self):
try:
if temp_file := self.view.settings().get("tutkain_temp_file"):
Expand Down

0 comments on commit 95ab18d

Please sign in to comment.