Bug #7608

Better API for safer ISceneGraphProvider handlingin SCLSceneGraph

Added by Jani Simomaa 3 months ago. Updated 2 months ago.

Status:ClosedStart date:2017-11-07
Priority:4Due date:2017-11-20
Assignee:Jani Simomaa% Done:

100%

Category:-Spent time:-
Target version:2017-27
Release notes:Deprecated @Simantics/Scenegraph@ functions @getICanvasSceneGraphProvider@ and @disposeSceneGraphProvider@ and added functions @doWithICanvasSceneGraphProvider@ and @doWithCanvasContext@ to replace them.
Tags: scl, leak, 1.31.0, deprecation
Story points-
Velocity based estimate-
ReleaseSimantics 1.31.0Release relationshipAuto

Description

  1. Add <Proc> to dispose-function of IScenegraphProvider in SCL
  2. Add an API that prevents SCL code from leaking the IScenegraphProvider (i.e. not disposing it properly) which has all kinds of nasty side-effects

Associated revisions

Revision 24336357
Added by Jani Simomaa 3 months ago

Add <Proc> to dispose-function of IScenegraphProvider

refs #7608

Change-Id: I950fa4642f355d0b8eca21baacb5e37f465373db

Revision 64e7d67f
Added by Jani Simomaa 3 months ago

Deprecating old API:s and inventing new ones for ICanvasContext in SCL

refs #7608

Change-Id: I89aa437ca8c98df7fd2644afffc037030fff2fd7

History

#1 Updated by Tuukka Lehtonen 2 months ago

  • Status changed from New to Closed

#2 Updated by Tuukka Lehtonen 2 months ago

  • Subject changed from Add <Proc> to dispose-function of IScenegraphProvider in SCL to Better API for safer ISceneGraphProvider handlingin SCLSceneGraph
  • Description updated (diff)
  • % Done changed from 0 to 100
  • Release notes set to Deprecated @Simantics/Scenegraph@ functions @getICanvasSceneGraphProvider@ and @disposeSceneGraphProvider@ and added functions @doWithICanvasSceneGraphProvider@ and @doWithCanvasContext@ to replace them.

#3 Updated by Tuukka Lehtonen 2 months ago

  • Tags set to scl, leak, deprecation, 1.31.0
  • Release set to 56

Also available in: Atom PDF