Skip to content

Commit

Permalink
Update xbox360-controllers-shutdown.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
spleen1981 authored Apr 4, 2021
1 parent 1e2b89f commit 6ce0277
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xbox360-controllers-shutdown.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -227,10 +227,11 @@ int main (int argc, char **argv)

UCHK(libusb_release_interface(dev_handle, m_interface));
UCHK(libusb_attach_kernel_driver(dev_handle, m_interface));

libusb_close(dev_handle);
}
}

libusb_close(dev_handle);
libusb_exit(ctx);

if (!controller_found){
Expand Down

0 comments on commit 6ce0277

Please sign in to comment.