Skip to content

Added Missing Thread Termination.#11

Open
El-Virus wants to merge 3 commits intolivingcomputermuseum:masterfrom
El-Virus:master
Open

Added Missing Thread Termination.#11
El-Virus wants to merge 3 commits intolivingcomputermuseum:masterfrom
El-Virus:master

Conversation

@El-Virus
Copy link

@El-Virus El-Virus commented Sep 9, 2021

This pr adds some missing thread terminations (makes #10 obsolete) which allows the IFS program to terminate and also adds a ObjectDisposedException catch statement to the GatewayReceiveThread in case the UDF Client is disposed of.

El-Virus and others added 3 commits September 9, 2021 14:14
…IsAlive check.

Right after closing the _gatewayUdpClient, a check is performed to see if _gatewayReceiveThread IsAlive, which might throw a NullReferenceException.
I've added a catch statement that ignores that exception.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant