diff options
| author | Flaise <[email protected]> | 2019-07-29 09:54:58 -0500 |
|---|---|---|
| committer | Matthew Collins <[email protected]> | 2019-07-30 10:36:45 +0100 |
| commit | 5ea817b1ffdb796eb6292b780b58e1a14bf4d873 (patch) | |
| tree | 00ff40b1fd8c6a658ff77fede21464fefb697bf4 /src/matchmaking.rs | |
| parent | Updated to support SDK version 1.45 on Mac OS (diff) | |
| download | steamworks-rs-5ea817b1ffdb796eb6292b780b58e1a14bf4d873.tar.xz steamworks-rs-5ea817b1ffdb796eb6292b780b58e1a14bf4d873.zip | |
Fix for thread contention causing errors on Mac OS and segfaults on Windows
Diffstat (limited to 'src/matchmaking.rs')
| -rw-r--r-- | src/matchmaking.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/matchmaking.rs b/src/matchmaking.rs index 061c9ef..5f02834 100644 --- a/src/matchmaking.rs +++ b/src/matchmaking.rs @@ -1,5 +1,6 @@ - use super::*; +#[cfg(test)] +use serial_test_derive::serial; /// Access to the steam matchmaking interface pub struct Matchmaking<Manager> { @@ -164,6 +165,7 @@ impl <Manager> Matchmaking<Manager> { } #[test] +#[serial] fn test_lobby() { let (client, single) = Client::init().unwrap(); let mm = client.matchmaking(); |