Fix translucent style
This commit is contained in:
@@ -41,7 +41,7 @@ abstract class LocalSocketListener(protected val tag: String) : Thread() {
|
||||
* Inherited class do not need to close input/output streams as they will be closed automatically.
|
||||
*/
|
||||
protected abstract fun accept(socket: LocalSocket)
|
||||
override final fun run() {
|
||||
final override fun run() {
|
||||
socketFile.delete() // It's a must-have to close and reuse previous local socket.
|
||||
LocalSocket().use { localSocket ->
|
||||
val serverSocket = try {
|
||||
|
||||
Reference in New Issue
Block a user