mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 18:59:43 +02:00
fixed cups finalization from Jesus
git-svn-id: trunk@6949 -
This commit is contained in:
parent
ce7cb4c885
commit
c2c7b56c3a
@ -681,6 +681,9 @@ initialization
|
||||
Printer:=TCUPSPrinter.Create;
|
||||
|
||||
FINALIZATION
|
||||
// Free the printer before unloading library
|
||||
Printer.Free;
|
||||
Printer:=nil;
|
||||
//Unload CUPSLib if loaded
|
||||
FinalizeCups;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user