Commit d4a47af
authored
fix: remove grpc plugin altogether from geyser manager (#400)
<!-- greptile_comment -->
## Greptile Summary
Improves stability by removing Geyser gRPC plugin from the plugin
manager while maintaining RPC service functionality, eliminating
potential segfaults from unsafe memory handling.
- Removed unsafe memory transmutation code in
`magicblock-api/src/init_geyser_service.rs` that was creating artificial
Library handles
- Eliminated `libloading::Library` and `LoadedGeyserPlugin` dependencies
to prevent memory-related crashes
- Preserved core RPC service functionality while removing plugin
tracking from manager
- Removed potential segfault vector from plugin manager's plugins list
management
<!-- /greptile_comment -->1 parent a1d509a commit d4a47af
1 file changed
+4
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
| |||
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
14 | | - | |
| 13 | + | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
66 | 65 | | |
67 | 66 | | |
68 | 67 | | |
69 | | - | |
70 | | - | |
| 68 | + | |
| 69 | + | |
71 | 70 | | |
72 | 71 | | |
73 | 72 | | |
| |||
83 | 82 | | |
84 | 83 | | |
85 | 84 | | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
| 85 | + | |
95 | 86 | | |
96 | | - | |
97 | 87 | | |
98 | 88 | | |
99 | 89 | | |
0 commit comments