Manuscript (Case [Issue]22669) Command Line - UFFI structures are not recalculated on system startup

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Manuscript (Case [Issue]22669) Command Line - UFFI structures are not recalculated on system startup

Pharo Issue Tracker
Manuscript Notification
avatar
Guillermo Polito opened Case 22669: UFFI structures are not recalculated on system startup and assigned it to Everyone:
Bug in Project:  Command Line: 1. Pharo Image  •  You are subscribed to this case
FFIMethod>>resetAll reads as
```
resetAll
"I'm reseting each shutdown and startup because like that I can be sure a complete cleanup is done,
because many things can change:
- platform change
- working directory change (and then libraries not found)
- indirect functions needs to be recalculated.
I am not supposed to be performed when image is just saved to avoid possible problem which can happen when we reset all caches and continue to work"
self uniqueInstance reset.
FFICallbackFunctionResolution reset.
FFIExternalStructure allSubclassesDo: #reset.
uniqueInstance := nil.
```

However, external structures are not actually rebuilt on startup as #reset does not do that.
Priority Priority: 5 – Fix If Time Status Status: Work Needed
Assigned To Assigned to: Everyone Milestone Milestone: Later

Go to Case
No longer need updates? Unsubscribe from this case.

Don't want Manuscript notifications anymore? Update your preferences.

Manuscript

_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
https://lists.gforge.inria.fr/mailman/listinfo/pharo-bugtracker