Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
helgoboss committed Nov 1, 2023
1 parent 4dcbcb7 commit d0f6fdf
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions allocator/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ impl<I, D> HelgobossAllocator<I, D> {
}

#[cfg(debug_assertions)]
fn check(&self, _layout: Layout) {
fn check(&self, layout: Layout) {
let forbid_count = ALLOC_FORBID_COUNT.with(|f| f.get());
let permit_count = ALLOC_PERMIT_COUNT.with(|p| p.get());
if forbid_count > 0 && permit_count == 0 {
Expand All @@ -191,7 +191,7 @@ impl<I, D> HelgobossAllocator<I, D> {
// );
// });
// Comment out if you don't want to abort
// std::alloc::handle_alloc_error(layout);
std::alloc::handle_alloc_error(layout);
}
}
}
Expand Down
7 changes: 4 additions & 3 deletions main/src/infrastructure/plugin/realearn_plugin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -363,9 +363,10 @@ impl Plugin for RealearnPlugin {
impl RealearnPlugin {
fn reaper_is_scanning_plugins(&self) -> bool {
// REAPER uses version "0" to indicate that this is only the plug-in scanning
// process.
let (version, _, _) = self.host.get_info();
version == 0
// process. TODO-high Doesn't work that way.
// let (version, _, _) = self.host.get_info();
// version == 0
false
}

/// Should be called in real-time thread only.
Expand Down
2 changes: 1 addition & 1 deletion playtime-clip-engine

0 comments on commit d0f6fdf

Please sign in to comment.