Project

General

Profile

Slug #1760

Quitting can be slow

Added by John Abbott 11 months ago. Updated about 2 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Cleaning
Target version:
Start date:
05 Aug 2023
Due date:
% Done:

100%

Estimated time:
0.95 h
Spent time:

Description

I hace just closed a CoCoA-5 running inside Emacs by sending a ctrl-D.
Initially I thought ctrl-D had not worked because it seemed that nothing happened (because CoCoA was busy freeing the memory occupied by a large polynomial, see comment 2 in issue #1756).
It would be nice if there were an immediate response that CoCoA-5 is quitting (& cleaning up used resoures).

History

#1 Updated by John Abbott 11 months ago

Maybe look at line 3036 in Interpreter.C?
We must consider all ways that CoCoA-5 can exit (outside a crash).

#2 Updated by John Abbott 11 months ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 50

I have implemented a first prototype (and checked in).
The code definitely need to be cleaned!
Need to discuss with Anna.

#3 Updated by John Abbott about 2 months ago

  • Status changed from In Progress to Closed
  • Assignee set to John Abbott
  • % Done changed from 50 to 100
  • Estimated time set to 0.95 h

This has been done for some time. I'm happy enough with the behaviour... no-one else has complained. So closing.

Also available in: Atom PDF