Skip to content

Commit

Permalink
Fix crash on exit
Browse files Browse the repository at this point in the history
  • Loading branch information
SirLynix committed May 12, 2020
1 parent 6505dd2 commit 673e077
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/obs-kinect/KinectDeviceRegistry.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ class OBSKINECT_API KinectDeviceRegistry
std::unique_ptr<KinectDevice> device;
};

std::vector<Device> devices;
KinectPlugin plugin;
std::vector<Device> devices; //< Order matters
};

std::unordered_map<std::string, KinectDevice*> m_deviceByName;
Expand Down

0 comments on commit 673e077

Please sign in to comment.