Merge pull request #625 from 86Box/bugfix/pcnet_close

Fixed hard reset crashes in the PCnet code.
This commit is contained in:
OBattler
2020-03-25 01:12:44 +01:00
committed by GitHub

View File

@@ -2835,6 +2835,9 @@ pcnet_close(void *priv)
pcnetlog(1, "%s: closed\n", dev->name);
/* Make sure the platform layer is shut down. */
network_close();
if (dev) {
timer_disable(&dev->poll_timer);