File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ pub struct ErrorEvent {
30
30
/// The error message
31
31
pub message : String ,
32
32
/// The object with which panic was originally invoked.
33
- pub error : Box < dyn Any + Send + ' static > ,
33
+ pub error : Box < dyn Any + Send > ,
34
34
/// Inherits from this base Event
35
35
pub event : Event ,
36
36
}
Original file line number Diff line number Diff line change @@ -49,6 +49,6 @@ pub(crate) enum ControlMessage {
49
49
/// Generic message to be handled by AudioProcessor
50
50
NodeMessage {
51
51
id : AudioNodeId ,
52
- msg : llq:: Node < Box < dyn Any + Send + ' static > > ,
52
+ msg : llq:: Node < Box < dyn Any + Send > > ,
53
53
} ,
54
54
}
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ impl RenderScope {
35
35
}
36
36
}
37
37
38
- pub ( crate ) fn report_error ( & self , error : Box < dyn Any + Send + ' static > ) {
38
+ pub ( crate ) fn report_error ( & self , error : Box < dyn Any + Send > ) {
39
39
pub fn type_name_of_val < T : ?Sized > ( _val : & T ) -> & ' static str {
40
40
std:: any:: type_name :: < T > ( )
41
41
}
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ pub(crate) struct RenderThread {
32
32
buffer_offset : Option < ( usize , AudioRenderQuantum ) > ,
33
33
load_value_sender : Option < Sender < AudioRenderCapacityLoad > > ,
34
34
event_sender : Option < Sender < EventDispatch > > ,
35
- garbage_collector : llq:: Producer < Box < dyn Any + Send + ' static > > ,
35
+ garbage_collector : llq:: Producer < Box < dyn Any + Send > > ,
36
36
}
37
37
38
38
// SAFETY:
@@ -315,11 +315,11 @@ const GARBAGE_COLLECTOR_THREAD_TIMEOUT: Duration = Duration::from_millis(100);
315
315
struct TerminateGarbageCollectorThread ;
316
316
317
317
// Spawns a sidecar thread of the `RenderThread` for dropping resources.
318
- fn spawn_garbage_collector_thread ( consumer : llq:: Consumer < Box < dyn Any + Send + ' static > > ) {
318
+ fn spawn_garbage_collector_thread ( consumer : llq:: Consumer < Box < dyn Any + Send > > ) {
319
319
let _join_handle = std:: thread:: spawn ( move || run_garbage_collector_thread ( consumer) ) ;
320
320
}
321
321
322
- fn run_garbage_collector_thread ( mut consumer : llq:: Consumer < Box < dyn Any + Send + ' static > > ) {
322
+ fn run_garbage_collector_thread ( mut consumer : llq:: Consumer < Box < dyn Any + Send > > ) {
323
323
log:: info!( "Entering garbage collector thread" ) ;
324
324
loop {
325
325
if let Some ( node) = consumer. pop ( ) {
You can’t perform that action at this time.
0 commit comments