Modify ↓
Opened 8 months ago
Last modified 7 months ago
#13563 new defect
ResourceWarning raised when tracd is killed by CTRL-C (SIGINT)
| Reported by: | Jun Omae | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.6.1 |
| Component: | web frontend/tracd | Version: | 1.5.3 |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
ResourceWarning raised when tracd is killed by CTRL-C, however not raised when killed by SIGTERM.
$ python -Wdefault trac/web/standalone.py -p 3000 /var/trac/1.5-sqlite
Server starting in PID 184511.
Serving on 0.0.0.0:3000 view at http://127.0.0.1:3000/
Using HTTP/1.1 protocol version
^Ctrac/web/standalone.py:385: ResourceWarning: unclosed <socket.socket fd=3, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 3000)>
pass
ResourceWarning: Enable tracemalloc to get the object allocation traceback
Attachments (0)
Note:
See TracTickets
for help on using tickets.


