Skip to main content
1 de 2

debe terminar con un exit();

$objWriter->save('php://output'); exit();