MCPcopy Create free account
hub / github.com/acidanthera/VoodooInput / willTerminate

Method willTerminate

VoodooInput/VoodooInput.cpp:93–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93bool VoodooInput::willTerminate(IOService* provider, IOOptionBits options) {
94 if (parentProvider->isOpen(this)) {
95 parentProvider->close(this);
96 }
97
98 return super::willTerminate(provider, options);
99}
100
101void VoodooInput::stop(IOService *provider) {
102 if (simulator) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected