File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ use std::{
4
4
io:: { self , Write } ,
5
5
mem,
6
6
path:: PathBuf ,
7
+ ptr,
7
8
rc:: Rc ,
8
9
sync:: Once ,
9
10
time:: { Duration , SystemTime , UNIX_EPOCH } ,
@@ -1006,7 +1007,7 @@ fn refresh_matches(input: String, runtime_data: Rc<RefCell<RuntimeData>>) {
1006
1007
let runtime_data_clone = runtime_data. clone ( ) ;
1007
1008
// If a plugin has requested exclusivity, respect it
1008
1009
if let Some ( exclusive) = & runtime_data. borrow ( ) . exclusive {
1009
- if plugin_view. plugin . info ( ) == exclusive. plugin . info ( ) {
1010
+ if ptr :: fn_addr_eq ( plugin_view. plugin . info ( ) , exclusive. plugin . info ( ) ) {
1010
1011
glib:: timeout_add_local ( Duration :: from_micros ( 1000 ) , move || {
1011
1012
async_match ( plugin_view. clone ( ) , runtime_data_clone. clone ( ) , id)
1012
1013
} ) ;
You can’t perform that action at this time.
0 commit comments