mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-13 01:10:19 -04:00
Check the channel is set before submitting it to the TCPNotifier
This commit is contained in:
parent
af2db43c53
commit
59fac9b4b6
@ -246,6 +246,7 @@ object InternetCard {
|
||||
private val id = UUID.randomUUID()
|
||||
|
||||
private def setupSelector() {
|
||||
if (channel == null) return
|
||||
TCPNotifier.add((channel, () => {
|
||||
owner match {
|
||||
case Some(internetCard) =>
|
||||
|
Loading…
x
Reference in New Issue
Block a user