Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork89
Commit423be21
committed
feat(cleanup): register atexit handlers to clear events on exit
Added atexit handlers in ActiveWindowWidget, CavaWidget, and TaskbarWidget to ensure proper cleanup of event services when the application exits. This improves resource management and prevents potential memory leaks.1 parent3457f18 commit423be21
3 files changed
+24
-10
lines changedLines changed: 6 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| 15 | + | |
15 | 16 |
| |
16 | 17 |
| |
17 | 18 |
| |
| |||
121 | 122 |
| |
122 | 123 |
| |
123 | 124 |
| |
124 |
| - | |
| 125 | + | |
| 126 | + | |
125 | 127 |
| |
| 128 | + | |
| 129 | + | |
| 130 | + | |
126 | 131 |
| |
127 | 132 |
| |
128 | 133 |
| |
|
Lines changed: 13 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| 14 | + | |
14 | 15 |
| |
15 | 16 |
| |
16 | 17 |
| |
| |||
122 | 123 |
| |
123 | 124 |
| |
124 | 125 |
| |
| 126 | + | |
125 | 127 |
| |
126 |
| - | |
127 | 128 |
| |
128 | 129 |
| |
129 | 130 |
| |
| |||
134 | 135 |
| |
135 | 136 |
| |
136 | 137 |
| |
| 138 | + | |
137 | 139 |
| |
138 | 140 |
| |
139 | 141 |
| |
| 142 | + | |
| 143 | + | |
140 | 144 |
| |
141 |
| - | |
142 |
| - | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
143 | 148 |
| |
144 | 149 |
| |
145 | 150 |
| |
| |||
169 | 174 |
| |
170 | 175 |
| |
171 | 176 |
| |
| 177 | + | |
172 | 178 |
| |
173 | 179 |
| |
174 | 180 |
| |
| |||
211 | 217 |
| |
212 | 218 |
| |
213 | 219 |
| |
214 |
| - | |
| 220 | + | |
215 | 221 |
| |
216 | 222 |
| |
217 | 223 |
| |
| |||
220 | 226 |
| |
221 | 227 |
| |
222 | 228 |
| |
223 |
| - | |
| 229 | + | |
224 | 230 |
| |
225 | 231 |
| |
226 | 232 |
| |
| |||
231 | 237 |
| |
232 | 238 |
| |
233 | 239 |
| |
| 240 | + | |
234 | 241 |
| |
235 |
| - | |
| 242 | + | |
236 | 243 |
| |
237 | 244 |
| |
238 | 245 |
|
Lines changed: 5 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
| 16 | + | |
16 | 17 |
| |
17 | 18 |
| |
18 | 19 |
| |
| |||
94 | 95 |
| |
95 | 96 |
| |
96 | 97 |
| |
97 |
| - | |
98 |
| - | |
99 |
| - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
100 | 102 |
| |
101 | 103 |
| |
102 | 104 |
| |
|
0 commit comments
Comments
(0)