Skip to main content
to dispose

to dispose

1 7.2
Release resources a program uses so they can be used again
  • verb
  • /dɪˈspoʊz/
  • Specialized
translation icon : liberar
  • It just prints Starling.current right before it dispose()s, waits 3 seconds, reprints Starling.current, creates it, and then prints it one more time.

Examples

  • I'm using EF 5.0 to create a web, and I have some issues disposing of my context.

    Blog text (30)
  • I have some textures that weren't manually disposed of, and I think that causes Starling to restore itself.

    Blog text (3)
  • Do I have to dispose of the ObjectContext to dispose of the entities, or is there any way to check if the entity is attached?

    Blog text (30)
  • The number is different each time, so every time I dispose() Starling and restart, it's up and running.

    Blog text (3)
  • Are you instantiating one class in Starling, disposing of it, and then trying to instantiate another in Starling?

    Blog text (3)
  • After finishing the program, you should dispose of any unused memory to avoid leaks.

  • It is important to properly dispose of file handles to ensure your application runs smoothly.

  • You need to dispose of the network connections after completing the data transfer.

Synonyms

to deallocate
vsto dispose
  • Specialized
1 7.0

To free computer memory or other things programs use

is performed by calling a specific method and covers various resource types

Antonyms

92 4.5

Give parts of something, like money or time, to people for a planned purpose

60 3.0

To hold something inside so it does not escape

Phrasal Verbs

56 4.1

Deal with and finish a problem or task so it no longer causes trouble

Surface Forms

dispose infinitive
disposed past
disposed past participle
disposing present participle
disposes third person singular

Morphology

dispose = pose (semi-transparent) = dis + pose

The computing sense 'release or free resources' is a domain-specific extension of 'get rid of' and is relatively predictable for learners familiar with technical metaphors, but may be unfamiliar to others.

Etymology

Dispose in computing keeps the same basic idea of 'putting away' or removing (from Latin dis- 'apart' and ponere 'to put'), so to dispose resources means to release or clear them so they can be reused by the system.