Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⚠️Potential Memory Leak #419

Open
Mashiro2000 opened this issue Dec 10, 2024 · 0 comments
Open

⚠️Potential Memory Leak #419

Mashiro2000 opened this issue Dec 10, 2024 · 0 comments

Comments

@Mashiro2000
Copy link

atexit.register(self.cleanup_pdf_doc)

atexit

def register(func, *args, **kwargs): # real signature unknown; restored from __doc__
    """
    register(func, *args, **kwargs) -> func
    
    Register a function to be executed upon normal program termination
    
        func - function to be called at exit
        args - optional arguments to pass to func
        kwargs - optional keyword arguments to pass to func
    
        func is returned to facilitate usage as a decorator.
    """
    pass

This executes on normal program termination, not on normal HTTP request completion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant