mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 21:40:33 +05:00
unload ngsolve library
This commit is contained in:
parent
47eb0dc600
commit
3b20e4f848
@ -402,7 +402,17 @@ set videoactive 0
|
||||
# .ngmenu.file add separator
|
||||
|
||||
.ngmenu.file add command -label "Quit" -accelerator "<q>" \
|
||||
-command { puts "Thank you for using $progname"; Ng_Exit; destroy . }
|
||||
-command {
|
||||
puts "Thank you for using $progname";
|
||||
|
||||
if { [catch { unload libngsolve[info sharedlibextension] ngsolve } result ] } {
|
||||
# puts "cannot unload ngsolve"
|
||||
# puts "error: $result"
|
||||
}
|
||||
|
||||
Ng_Exit;
|
||||
destroy .
|
||||
}
|
||||
# exit
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user