mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
compiler: make [live] fn unlock its mutex on early return
This commit is contained in:

committed by
Alexander Medvednikov

parent
26374971ab
commit
4838dda59a
@ -100,9 +100,11 @@ fn (v &V) generate_hot_reload_code() {
|
||||
}
|
||||
ticks := time.ticks()
|
||||
os.system(cmd_compile_shared_library)
|
||||
diff := time.ticks() - ticks
|
||||
println('compiling shared library took $diff ms')
|
||||
println('=========\n')
|
||||
if v.pref.is_verbose {
|
||||
diff := time.ticks() - ticks
|
||||
println('compiling shared library took $diff ms')
|
||||
println('=========\n')
|
||||
}
|
||||
cgen.genln('
|
||||
|
||||
void lfnmutex_print(char *s){
|
||||
|
Reference in New Issue
Block a user