commit | 105bf84a49a27e8e1e6770e0dd6e77f44fdcb586 | [log] [tgz] |
---|---|---|
author | Sam Lantinga <slouken@libsdl.org> | Mon Sep 17 11:35:24 2018 -0700 |
committer | Sam Lantinga <slouken@libsdl.org> | Mon Sep 17 11:35:24 2018 -0700 |
tree | 1b12a5c456057ef9dbcafe8691f8fd3935711c84 | |
parent | 46e033920eaeb9415d594c0e1fb08c4f751eda17 [diff] |
Store the API device refcount on the device itself, so if the device is disconnected and we have multiple application references to it, we only free it once.