mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Make ntcore instances not smart pointers (#1485)
During static shutdown, the instances hang on windows 7, so let them leak instead.
This commit is contained in:
committed by
Peter Johnson
parent
7d7af287f6
commit
0c3b488e18
@@ -51,7 +51,7 @@ class InstanceImpl {
|
||||
|
||||
static std::atomic<int> s_default;
|
||||
static std::atomic<InstanceImpl*> s_fast_instances[10];
|
||||
static wpi::UidVector<std::unique_ptr<InstanceImpl>, 10> s_instances;
|
||||
static wpi::UidVector<InstanceImpl*, 10> s_instances;
|
||||
static wpi::mutex s_mutex;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user