Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tapasco
tapasco
Commits
ffab98d0
Commit
ffab98d0
authored
Nov 02, 2017
by
Jens Korinth
Browse files
Fix closing of watch thread in MultiFileWatcher
* related to
#137
parent
6309f09d
Changes
1
Show whitespace changes
Inline
Side-by-side
src/main/scala/tapasco/filemgmt/MultiFileWatcher.scala
View file @
ffab98d0
...
...
@@ -47,7 +47,8 @@ class MultiFileWatcher(pollInterval: Int = MultiFileWatcher.POLL_INTERVAL) exten
/** Remove and close all files. */
def
closeAll
()
:
Unit
=
{
_files
.
clear
_watchThread
.
set
(
None
)
_files
.
synchronized
{
_files
.
clear
}
_waitingFor
.
synchronized
{
_waitingFor
.
clear
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment