Invalidate dcons buffer on shutdown.
This commit is contained in:
parent
df90d08c20
commit
c0be4b1cf8
@ -726,6 +726,7 @@ dcons_modevent(module_t mode, int type, void *data)
|
||||
|
||||
break;
|
||||
case MOD_SHUTDOWN:
|
||||
dg.buf->magic = 0;
|
||||
break;
|
||||
default:
|
||||
err = EOPNOTSUPP;
|
||||
|
Loading…
Reference in New Issue
Block a user