Ticket #1082 (closed: fixed)

Opened 11 years ago

Last modified 5 years ago

Clearing the analysis data service does not kill object references in Python

Reported by: Martyn Gigg Owned by: Martyn Gigg
Priority: major Milestone: Iteration 21
Component: Keywords:
Cc: Blocked By:
Blocking: Tester:

Description

Python responds to workspace delete signals by correctly nullifying the reference stored in the proxy but this does not happen if the ADS is cleared as no signal is emitted.

Change History

comment:1 Changed 11 years ago by Martyn Gigg

(In [3659]) Implemeted a clear notification for the DataService. This avoids having to emit a delete notification for each deleted workspace. Re #1082

comment:2 Changed 11 years ago by Martyn Gigg

(In [3660]) Updated MantidPlot widgets to use new clear notification from the ADS. This unifies closing relevent windows when workspaces are deleted regardless of if the clear happens in the GUI or from Python. Re #1082

comment:3 Changed 11 years ago by Nick Draper

  • Owner set to Martyn Gigg
  • Status changed from new to assigned

Is this done now? if so please close it.

comment:4 Changed 11 years ago by Martyn Gigg

  • Status changed from assigned to testing
  • Resolution set to fixed

comment:5 Changed 11 years ago by Martyn Gigg

(In [3724]) Fix for notifications being dispatched from a separate thread then trying to update a widget. Re #1082

comment:6 Changed 11 years ago by Russell Taylor

  • Status changed from testing to reopened
  • Resolution fixed deleted

comment:7 Changed 11 years ago by Russell Taylor

The reference isn't set to none when doing a 'clear all memory'

comment:8 Changed 11 years ago by Martyn Gigg

(In [3848]) Make sure workspace proxy references are set to None when framework clear is called. Previously store was just cleared out. Re #1082

comment:9 Changed 11 years ago by Martyn Gigg

  • Status changed from reopened to testing
  • Resolution set to fixed

comment:10 Changed 11 years ago by Russell Taylor

  • Status changed from testing to closed

comment:11 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 1930

Note: See TracTickets for help on using tickets.