mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
checker: ban unsafe pointer/fn comparison (#14462)
This commit is contained in:
@@ -207,7 +207,7 @@ fn change_detection_loop(ocontext &Context) {
|
||||
}
|
||||
|
||||
fn (mut context Context) kill_pgroup() {
|
||||
if context.child_process == 0 {
|
||||
if unsafe { context.child_process == 0 } {
|
||||
return
|
||||
}
|
||||
if context.child_process.is_alive() {
|
||||
|
Reference in New Issue
Block a user